0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00

readline: update references to archived repository

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Tobias Nießen 2017-12-31 18:06:40 +01:00
parent 8951fcff2b
commit 3b1e263b7b
No known key found for this signature in database
GPG Key ID: 718207F8FD156B70

View File

@ -760,7 +760,8 @@ Interface.prototype._ttyWrite = function(s, key) {
key = key || {}; key = key || {};
this._previousKey = key; this._previousKey = 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.name === 'escape') return;
if (key.ctrl && key.shift) { if (key.ctrl && key.shift) {