MCPcopy Create free account
hub / github.com/Marus/cortex-debug / sendUserInput

Method sendUserInput

src/backend/mi2/mi2.ts:1005–1012  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

1003 }
1004
1005 public sendUserInput(command: string): Thenable<any> {
1006 if (command.startsWith('-')) {
1007 return this.sendCommand(command.substr(1));
1008 }
1009 else {
1010 return this.sendCommand(`interpreter-exec console "${command}"`);
1011 }
1012 }
1013
1014 public sendRaw(raw: string) {
1015 if (!this.process?.stdin) {

Callers 2

doitMethod · 0.80
doitMethod · 0.80

Calls 1

sendCommandMethod · 0.95

Tested by

no test coverage detected