commit 581a7475a0c7a1cc691a067ece0913fab275a57a
parent 72dffcb5fa9f57e4baa12ab7c791986a2617bebb
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sat, 7 Jul 2007 14:40:01 +0000
use old draw mechanism in buffer
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@481 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -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