fix(compat): reset setRawMode on process exit (#2994)

pull/2997/head
Divyansh Singh 1 year ago committed by GitHub
parent c2c040d7e6
commit 70fe47c1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,7 @@ export function bindShortcuts(
server.httpServer.on('close', () => {
process.stdin.off('data', onInput).pause()
process.stdin.setRawMode(false)
})
}

Loading…
Cancel
Save