]> git.cworth.org Git - sup/blobdiff - lib/sup/buffer.rb
Merge branch 'ncurses-fixes' into next
[sup] / 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}"