about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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