Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repl: changes ctrl+u to delete from cursor to line start #20686

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
repl: updates comment for the case
Closes: #20145
  • Loading branch information
shobhitchittora committed May 12, 2018
commit 55df2fd6b031124336099ef7654a8216a7855ed3
2 changes: 1 addition & 1 deletion lib/readline.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ Interface.prototype._ttyWrite = function(s, key) {
}
break;

case 'u': // delete the whole line
case 'u': // delete from current to start of line
this._deleteLineLeft();
break;

Expand Down