Skip to content

Commit 70fe47c

Browse files
authoredSep 20, 2023
fix(compat): reset setRawMode on process exit (#2994)
1 parent c2c040d commit 70fe47c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/node/shortcuts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function bindShortcuts(
6868

6969
server.httpServer.on('close', () => {
7070
process.stdin.off('data', onInput).pause()
71+
process.stdin.setRawMode(false)
7172
})
7273
}
7374

0 commit comments

Comments
 (0)
Please sign in to comment.