docs: modify comments

This commit is contained in:
lzdyes 2022-05-13 23:16:04 +08:00
parent d800d850ea
commit 324e0cf37f
No known key found for this signature in database
GPG Key ID: 2FE62F8D86CEB3C5

View File

@ -59,7 +59,7 @@ function watchPreload(server) {
}) })
} }
// block CTRL + C to exit the application directly without displaying the query in Windows // Block the CTRL + C shortcut on a Windows terminal and exit the application without displaying a query
if (process.platform === 'win32') { if (process.platform === 'win32') {
readline.createInterface({ input: process.stdin, output: process.stdout }).on('SIGINT', process.exit) readline.createInterface({ input: process.stdin, output: process.stdout }).on('SIGINT', process.exit)
} }