summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-08 01:30:54 +0200
committerhut <hut@lavabit.com>2009-06-08 01:30:54 +0200
commite8beb6eb5a2db419e1426e23aee9d919888af5da (patch)
tree053d95cd2fa130cc3c5b8a306a08493760ca7e95
parentb7fab07b203571f7942ea64a6ace375434221fab (diff)
downloadranger-e8beb6eb5a2db419e1426e23aee9d919888af5da.tar.gz
fixed backspace key on some linux distros / ncurses versions
-rw-r--r--interface/ncurses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/ncurses.rb b/interface/ncurses.rb
index fe208e53..86d4063d 100644
--- a/interface/ncurses.rb
+++ b/interface/ncurses.rb
@@ -7,7 +7,7 @@ module Interface
 			'<redraw>'
 		when ?\n
 			'<cr>'
-		when ?\b, Ncurses::KEY_BACKSPACE
+		when ?\b, Ncurses::KEY_BACKSPACE, 127
 			'<bs>'
 		when Ncurses::KEY_RIGHT
 			'<right>'