X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fsup%2Fbuffer.rb;h=7fa82d88bfdbd0a861a5e35bbe24aea8345a3348;hb=daf951d67068db6c4ee975466bbe61c0180f5532;hp=be2d1bba5d5bfb267c44a60a03dcfdc919ceb92e;hpb=1d3816e0e62f1732ea5511d11ee20726631957d5;p=sup diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index be2d1bb..7fa82d8 100644 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@ -269,6 +269,7 @@ EOS ## this magic makes Ncurses get the new size of the screen Ncurses.endwin Ncurses.stdscr.keypad 1 + Ncurses.curs_set 0 Ncurses.refresh @sigwinch_mutex.synchronize { @sigwinch_happened = false } debug "new screen size is #{Ncurses.rows} x #{Ncurses.cols}"