We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3647d07 commit 718fc1dCopy full SHA for 718fc1d
packages/vite/src/node/shortcuts.ts
@@ -44,7 +44,8 @@ export function bindShortcuts(
44
const onInput = async (input: string) => {
45
// ctrl+c or ctrl+d
46
if (input === '\x03' || input === '\x04') {
47
- process.emit('SIGTERM')
+ process.stdin.setRawMode(false)
48
+ process.stdin.write(input)
49
return
50
}
51
0 commit comments