From 457ae9ffb37623c6a70f54c4e70591a4fb3eaee6 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Sat, 2 Feb 2008 17:48:37 -0800 Subject: [PATCH] bugfix: BufferManager#ask_getch not clearing the flash message --- lib/sup/buffer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2