mirror of https://github.com/nodejs/node.git
parent
2b9967fbcc
commit
3f69c71157
|
@ -656,8 +656,13 @@ Interface.prototype._ttyWrite = function(s, key) {
|
||||||
self.pause();
|
self.pause();
|
||||||
self.emit('SIGCONT');
|
self.emit('SIGCONT');
|
||||||
}
|
}
|
||||||
|
// explictly re-enable "raw mode" and move the cursor to the correct
|
||||||
|
// position. See https://github.com/joyent/node/issues/3295.
|
||||||
|
self._setRawMode(true);
|
||||||
|
self._refreshLine();
|
||||||
};
|
};
|
||||||
})(this));
|
})(this));
|
||||||
|
this._setRawMode(false);
|
||||||
process.kill(process.pid, 'SIGTSTP');
|
process.kill(process.pid, 'SIGTSTP');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue