(command: string)
| 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) { |
no test coverage detected