diff options
author | hut <hut@lavabit.com> | 2009-06-12 19:15:03 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-12 19:15:03 +0200 |
commit | ccd1fe0ec9a3a05cf4f5016ca7732837dc51e33e (patch) | |
tree | c2170fe690e0fa4ed4f85890dafc060ed0ad2beb /code/draw.rb | |
parent | 87e935f7fe07430792e4699495a5477b38736567 (diff) | |
download | ranger-ccd1fe0ec9a3a05cf4f5016ca7732837dc51e33e.tar.gz |
improved behaviour at preview row when still generating
Diffstat (limited to 'code/draw.rb')
-rw-r--r-- | code/draw.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/code/draw.rb b/code/draw.rb index 67e3f7de..b07eb31c 100644 --- a/code/draw.rb +++ b/code/draw.rb @@ -42,9 +42,9 @@ module Fm right = left + wid if not d.read? - puti l, left, 'reading...'.ljust(wid+1) +# puti l, left, "" * (wid + 1) Scheduler << d - column_clear(c, 1) +# column_clear(c, 1) return elsif d.read? and d.empty? puti l, left, 'empty'.ljust(wid+1) @@ -280,6 +280,7 @@ module Fm movi(@pwd.pos + 1 - get_offset(@pwd, lines), @cur_y) end + CLI.refresh end def self.draw_bars() |