commit 457ae9ffb37623c6a70f54c4e70591a4fb3eaee6
parent 5977aecf6bf51a1f7a2bb59d01742dd4ced979ce
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Sat, 2 Feb 2008 17:48:37 -0800
bugfix: BufferManager#ask_getch not clearing the flash message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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