Browse Source

Fix tab on posix tty

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
d4127717ac
  1. 2
      lib/tty_posix.js

2
lib/tty_posix.js

@ -113,7 +113,7 @@ ReadStream.prototype._emitKey = function(s) {
} else if (s === '\t') { } else if (s === '\t') {
// tab // tab
key.tab = 'tab'; key.name = 'tab';
} else if (s === '\b' || s === '\x7f') { } else if (s === '\b' || s === '\x7f') {
// backspace or ctrl+h // backspace or ctrl+h

Loading…
Cancel
Save