diff options
Diffstat (limited to 'editors/nano/patches/patch-aa')
-rw-r--r-- | editors/nano/patches/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/nano/patches/patch-aa b/editors/nano/patches/patch-aa new file mode 100644 index 00000000000..00bf3ac0787 --- /dev/null +++ b/editors/nano/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.6 2007/10/24 15:28:38 obache Exp $ + +--- src/nano.c.orig 2007-01-12 02:58:12.000000000 +0000 ++++ src/nano.c +@@ -1280,6 +1280,7 @@ void terminal_init(void) + cbreak(); + nonl(); + noecho(); ++ raw(); + disable_extended_io(); + disable_signals(); + if (!ISSET(PRESERVE)) +@@ -2230,6 +2231,7 @@ int main(int argc, char **argv) + + /* Make sure the cursor is in the edit window. */ + reset_cursor(); ++ wrefresh(edit); + + #ifndef NANO_TINY + if (!jump_buf_main) { |