提交 8d9f0f56 编写于 作者: D Daniel Imms

Only bold press any key text

上级 85df66dc
......@@ -532,8 +532,8 @@ export class TerminalInstance implements ITerminalInstance {
let message = typeof this._shellLaunchConfig.waitOnExit === 'string'
? this._shellLaunchConfig.waitOnExit
: nls.localize('terminal.integrated.waitOnExit', 'Press any key to close the terminal');
// Style the message to make it stand out from the rest of the output
message = `\n\x1b[40;37;1m${message}\x1b[0m`;
// Bold the message and add an extra new line to make it stand out from the rest of the output
message = `\n\x1b[1m${message}\x1b[0m`;
this._xterm.writeln(message);
// Disable all input if the terminal is exiting and listen for next keypress
this._xterm.setOption('disableStdin', true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册