MCPcopy
hub / github.com/PowerShell/vscode-powershell / sendKeyPress

Method sendKeyPress

src/process.ts:234–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232 }
233
234 public sendKeyPress(): void {
235 // NOTE: This is a regular character instead of something like \0
236 // because non-printing characters can cause havoc with different
237 // languages and terminal settings. We discard the character server-side
238 // anyway, so it doesn't matter what we send.
239 this.consoleTerminal?.sendText("p", false);
240 }
241
242 private isLoginShell(pwshPath: string): boolean {
243 try {

Callers 2

startLanguageClientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected