readline: return old status from _setRawMode · nodejs/node@72d659a · GitHub
Skip to content

Commit 72d659a

Browse files
addaleaxFishrock123
authored andcommitted
readline: return old status from _setRawMode
Return the previous raw mode setting from the internal `_setRawMode` so that is easier to reset it to its original state later. PR-URL: #6635 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent d049919 commit 72d659a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/readline.js

Lines changed: 5 additions & 1 deletion

0 commit comments

Comments
 (0)