]> git.notmuchmail.org Git - sup/commitdiff
Merge branch 'ncurses-fixes' into next
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 18 Aug 2009 16:07:54 +0000 (09:07 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 18 Aug 2009 16:07:54 +0000 (09:07 -0700)
1  2 
lib/sup/buffer.rb

index be2d1bba5d5bfb267c44a60a03dcfdc919ceb92e,f3b3cd5e7fd9cf1b5022303d1dc2668f3e3db8dd..7fa82d88bfdbd0a861a5e35bbe24aea8345a3348
@@@ -269,9 -269,10 +269,10 @@@ EO
      ## 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}"
 +    debug "new screen size is #{Ncurses.rows} x #{Ncurses.cols}"
  
      status, title = get_status_and_title(@focus_buf) # must be called outside of the ncurses lock