summary refs log tree commit diff stats
path: root/code/draw.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-12 19:15:03 +0200
committerhut <hut@lavabit.com>2009-06-12 19:15:03 +0200
commitccd1fe0ec9a3a05cf4f5016ca7732837dc51e33e (patch)
treec2170fe690e0fa4ed4f85890dafc060ed0ad2beb /code/draw.rb
parent87e935f7fe07430792e4699495a5477b38736567 (diff)
downloadranger-ccd1fe0ec9a3a05cf4f5016ca7732837dc51e33e.tar.gz
improved behaviour at preview row when still generating
Diffstat (limited to 'code/draw.rb')
-rw-r--r--code/draw.rb5
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()