We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ce362 commit 3845fdcCopy full SHA for 3845fdc
src/main/resources/META-INF/frontend/fc-xterm/xterm-console-mixin.ts
@@ -40,7 +40,7 @@ class ConsoleAddon extends TerminalAddon<IConsoleMixin> {
40
line += buffer.lines.get(i).translateToString();
41
}
42
line = line.replace(/\s+$/,"");
43
- if (this.__yPrompt==range.first) line = line.substring(this.$.prompt.length);
+ if (this.$.prompt && this.__yPrompt==range.first) line = line.substring(this.$.prompt.length);
44
return line;
45
46
0 commit comments