From ea9290bcb97c413f8387021bb42a823029c8c447 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Tue, 18 Aug 2009 09:07:28 -0700 Subject: [PATCH] ncurses cursor pops on after refresh. disable that. Yet more shotgun programming. --- lib/sup/buffer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index 7605e52..f3b3cd5 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 } Redwood::log "new screen size is #{Ncurses.rows} x #{Ncurses.cols}" -- 2.45.2