Skip to content

Commit

Permalink
readline: update references to archived repository
Browse files Browse the repository at this point in the history
Backport-PR-URL: #19120
PR-URL: #17924
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
tniessen authored and MylesBorins committed Mar 28, 2018
1 parent ebd9a18 commit 096e4c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/readline.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,8 @@ Interface.prototype._moveCursor = function(dx) {
Interface.prototype._ttyWrite = function(s, key) {
key = key || {};

// Ignore escape key - Fixes #2876
// Ignore escape key, fixes
// https://github.com/nodejs/node-v0.x-archive/issues/2876.
if (key.name === 'escape') return;

if (key.ctrl && key.shift) {
Expand Down

0 comments on commit 096e4c6

Please sign in to comment.