diff options
author | hut <hut@lavabit.com> | 2009-07-20 04:31:11 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-20 04:31:11 +0200 |
commit | 3b54a8a1af4c2c19f64399110cbb43fd3f6c4e9b (patch) | |
tree | 681ff26875f7269208f0a6bd9858694767d6ee52 /code | |
parent | 63d0ca3da61f10e72340a4ced64f6a0921458013 (diff) | |
download | ranger-3b54a8a1af4c2c19f64399110cbb43fd3f6c4e9b.tar.gz |
put bugfix #8 where it belongs (flush after system())
Diffstat (limited to 'code')
-rw-r--r-- | code/action.rb | 1 | ||||
-rw-r--r-- | code/fm.rb | 1 |
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 |