From: William Morgan Date: Sun, 3 Feb 2008 01:48:37 +0000 (-0800) Subject: bugfix: BufferManager#ask_getch not clearing the flash message X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=457ae9ffb37623c6a70f54c4e70591a4fb3eaee6;p=sup bugfix: BufferManager#ask_getch not clearing the flash message --- diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index 4374fa8..7c2c0ae 100644 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@ -557,7 +557,6 @@ EOS def ask_getch question, accept=nil raise "impossible!" if @asking - @asking = true accept = accept.split(//).map { |x| x[0] } if accept @@ -570,6 +569,7 @@ EOS Ncurses.refresh end + @asking = true ret = nil done = false until done