]> git.cworth.org Git - sup/commitdiff
bugfix: interactive prompt, extra empty line in status buffer if flash is active
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 15 Jul 2007 22:48:13 +0000 (22:48 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 15 Jul 2007 22:48:13 +0000 (22:48 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@499 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup
doc/TODO

diff --git a/bin/sup b/bin/sup
index bc3af0fc9799824618b1089a354e63e67c4112dd..c2b111ccef937ec889161713e980b16d7a51eba8 100644 (file)
--- a/bin/sup
+++ b/bin/sup
@@ -181,6 +181,7 @@ begin
   until $exception || SuicideManager.die?
     c = Ncurses.nonblocking_getch
     next unless c
+    bm.erase_flash
 
     unless bm.handle_input(c)
       x = global_keymap.action_for c
@@ -264,7 +265,6 @@ begin
     end
 
     bm.draw_screen
-    bm.erase_flash
   end
 rescue Exception => e
   $exception ||= e
index 155c1ba6821ae442f27bcde72200ba85e416abd0..cea761948e8a7f1f6efa4ea128efcc12992c9bdb 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,6 +1,6 @@
 for 0.1
 -------
-_ bugfix: any interactive prompt after "No new messages." flash has an
+x bugfix: any interactive prompt after "No new messages." flash has an
    empty line above it.
 x detect other sup instances and do something intelligent (because
 x refactor all the *-search-results-mode classes