We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
p
\0
sendKeyPress
1 parent 63f75e5 commit 4c90511Copy full SHA for 4c90511
src/process.ts
@@ -164,7 +164,11 @@ export class PowerShellProcess {
164
}
165
166
public sendKeyPress() {
167
- this.consoleTerminal.sendText("\0", false);
+ // NOTE: This is a regular character instead of something like \0
168
+ // because non-printing characters can cause havoc with different
169
+ // languages and terminal settings. We discard the character server-side
170
+ // anyway, so it doesn't matter what we send.
171
+ this.consoleTerminal.sendText("p", false);
172
173
174
private logTerminalPid(pid: number, exeName: string) {
0 commit comments