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

Method createTerminal

src/frontend/rtt_terminal.ts:136–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 protected createTerminal() {
137 this.ptyTerm = new PtyTerminal(this.createTermOptions(null));
138 this.ptyTerm.on('data', this.sendData.bind(this));
139 this.ptyTerm.on('close', this.terminalClosed.bind(this));
140 }
141
142 protected createPrompt(): string {
143 return this.options.noprompt ? '' : this.options.prompt || `RTT:${this.options.port}> `;

Callers 2

constructorMethod · 0.95
constructorMethod · 0.80

Calls 1

createTermOptionsMethod · 0.95

Tested by

no test coverage detected