]> git.cworth.org Git - sup/commitdiff
fix minibuf disappearing during tab completion
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 27 Nov 2007 17:22:51 +0000 (17:22 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 27 Nov 2007 17:22:51 +0000 (17:22 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@725 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/buffer.rb

index 8cb12986f0b2b7831ff4edf0b987b7146e7d32a1..609962cb950af1fdec53ec033a858d7d95a30dec 100644 (file)
@@ -535,11 +535,11 @@ EOS
         mode = CompletionMode.new shorts, :header => "Possible completions for \"#{tf.value}\": ", :prefix_len => prefix_len
         completion_buf = spawn "<completions>", mode, :height => 10
 
-        draw_screen
+        draw_screen :skip_minibuf => true
         tf.position_cursor
       elsif tf.roll_completions?
         completion_buf.mode.roll
-        draw_screen
+        draw_screen :skip_minibuf => true
         tf.position_cursor
       end