]> git.cworth.org Git - sup/commitdiff
use old draw mechanism in buffer
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 7 Jul 2007 14:40:01 +0000 (14:40 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 7 Jul 2007 14:40:01 +0000 (14:40 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@481 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/buffer.rb

index 198d4d190ac742cd7cacd55af5920d30e148edaf..e83ae15019f44b4ef1b0333f8ae5ee6e1ac8575b 100644 (file)
@@ -207,7 +207,7 @@ class BufferManager
     ## disabling this for the time being, to help with debugging
     ## (currently we only have one buffer visible at a time).
     ## TODO: reenable this if we allow multiple buffers
-    true && @buffers.inject(@dirty) do |dirty, buf|
+    false && @buffers.inject(@dirty) do |dirty, buf|
       buf.resize Ncurses.rows - minibuf_lines, Ncurses.cols
       #dirty ? buf.draw : buf.redraw
       buf.draw
@@ -215,7 +215,7 @@ class BufferManager
     end
 
     ## quick hack
-    if false
+    if true
       buf = @buffers.last
       buf.resize Ncurses.rows - minibuf_lines, Ncurses.cols
       @dirty ? buf.draw : buf.redraw