about summary refs log tree commit diff stats
path: root/code/fm.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-18 17:13:33 +0200
committerhut <hut@lavabit.com>2009-07-18 17:13:33 +0200
commit75a9918ea39f35eaa328180c0901e7b2b0ad390c (patch)
treee456563ed5a8e0a08c8414291115e7f78aeea3bb /code/fm.rb
parent7d21f3d5f7e552c2449ea982b96ed1f9949ed732 (diff)
downloadranger-75a9918ea39f35eaa328180c0901e7b2b0ad390c.tar.gz
testing: clear the keybuffer when pressing a key
i'm not sure whether this should be done
Diffstat (limited to 'code/fm.rb')
-rw-r--r--code/fm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/fm.rb b/code/fm.rb
index c45a1233..a15735b7 100644
--- a/code/fm.rb
+++ b/code/fm.rb
@@ -163,6 +163,7 @@ module Fm
 
 			begin
 				key = geti
+				CLI.clear_keybuffer
 				press(key)
 			rescue Interrupt
 				on_interrupt