about summary refs log tree commit diff stats
path: root/code/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/cli.rb')
-rw-r--r--code/cli.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/cli.rb b/code/cli.rb
index c5ad48a1..60f74e75 100644
--- a/code/cli.rb
+++ b/code/cli.rb
@@ -47,6 +47,10 @@ module CLI
 		@@mev
 	end
 
+	def clear_keybuffer
+		Ncurses.flushinp
+	end
+
 	def self.included(this)
 		@@window = Ncurses.initscr
 		starti