about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-20 04:31:11 +0200
committerhut <hut@lavabit.com>2009-07-20 04:31:11 +0200
commit3b54a8a1af4c2c19f64399110cbb43fd3f6c4e9b (patch)
tree681ff26875f7269208f0a6bd9858694767d6ee52
parent63d0ca3da61f10e72340a4ced64f6a0921458013 (diff)
downloadranger-3b54a8a1af4c2c19f64399110cbb43fd3f6c4e9b.tar.gz
put bugfix #8 where it belongs (flush after system())
-rw-r--r--code/action.rb1
-rw-r--r--code/fm.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/code/action.rb b/code/action.rb
index a3986bda..6e753296 100644
--- a/code/action.rb
+++ b/code/action.rb
@@ -65,7 +65,6 @@ module Action
 		system(*what)
 		wait_for_enter if rc.wait
 		start_interface unless rc.console
-		CLI.clear_keybuffer
 	end
 
 	def wait_for_enter
diff --git a/code/fm.rb b/code/fm.rb
index fc065afe..dff94c7a 100644
--- a/code/fm.rb
+++ b/code/fm.rb
@@ -98,6 +98,7 @@ module Fm
 	def externally(&block)
 		closei
 		yield if block_given?
+		CLI.clear_keybuffer
 		starti
 	end