Ctrl+W support for the REPL
authorTrent Mick <trentm@gmail.com>
Sat, 4 Sep 2010 04:53:53 +0000 (21:53 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 8 Sep 2010 16:45:57 +0000 (09:45 -0700)
commit5330fea954010addfd91fe3ac20bd391a11c90a0
tree15ea3d769e29977e9cebd7d4cc702b7caa232c0f
parentcf4b5fc52a5614e341f6e0cb3988fda6e88170e9
Ctrl+W support for the REPL

FWIW, command-line style (delete back to whitespace) would be:
    leading = leading.replace(/\S+\s*$/, '');
lib/readline.js