From 3b54a8a1af4c2c19f64399110cbb43fd3f6c4e9b Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 20 Jul 2009 04:31:11 +0200 Subject: put bugfix #8 where it belongs (flush after system()) --- code/action.rb | 1 - code/fm.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0