From: Edward Z. Yang Date: Mon, 27 Jul 2009 19:03:58 +0000 (-0400) Subject: fix broken arrow keypresses after shelling out X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f87cdfb31aaea1cb2aa66960f43d0173e34f4976;p=sup fix broken arrow keypresses after shelling out Signed-off-by: Edward Z. Yang --- diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index 8eedf96..5f52d1d 100644 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@ -723,6 +723,7 @@ EOS Ncurses.sync do Ncurses.endwin system command + Ncurses.stdscr.keypad 1 Ncurses.refresh Ncurses.curs_set 0 end