]> git.cworth.org Git - sup/commitdiff
Merge branch 'ncurses-fixes' into next
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 16 Aug 2009 22:00:10 +0000 (18:00 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 16 Aug 2009 22:00:10 +0000 (18:00 -0400)
lib/sup/buffer.rb

index b3a256fdfb79262bb98295a4c7366ccb4dd531e6..09281e9f5823bf99f609a103a949a5cf98c2c7b7 100644 (file)
@@ -270,6 +270,7 @@ EOS
 
     ## this magic makes Ncurses get the new size of the screen
     Ncurses.endwin
+    Ncurses.stdscr.keypad 1
     Ncurses.refresh
     @sigwinch_mutex.synchronize { @sigwinch_happened = false }
     Redwood::log "new screen size is #{Ncurses.rows} x #{Ncurses.cols}"