]> git.cworth.org Git - sup/commitdiff
fix broken arrow keypresses after shelling out
authorEdward Z. Yang <ezyang@mit.edu>
Mon, 27 Jul 2009 19:03:58 +0000 (15:03 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 28 Jul 2009 15:14:44 +0000 (11:14 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
lib/sup/buffer.rb

index 8eedf9697c26f1aa94c8a6769aa4f7c9e5752406..5f52d1dff53ab62f80c008a7a25b6a84505e308c 100644 (file)
@@ -723,6 +723,7 @@ EOS
     Ncurses.sync do
       Ncurses.endwin
       system command
+      Ncurses.stdscr.keypad 1
       Ncurses.refresh
       Ncurses.curs_set 0
     end