We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862de7c commit e306173Copy full SHA for e306173
src/main/resources/META-INF/frontend/fc-xterm/xterm-console-mixin.ts
@@ -89,16 +89,17 @@ class ConsoleAddon extends TerminalAddon<IConsoleMixin> {
89
let buffer = this._bufferService.buffer;
90
let x = buffer.x;
91
let y = buffer.y;
92
- let apply=true;
+ let apply=false;
93
94
for (let i=0; i< (params && params[0] || 1); i++) {
95
let line = buffer.lines.get(buffer.y+buffer.ybase);
96
if (!line.isWrapped && buffer.x< 1+promptLength()) {
97
- apply=false;
98
break;
99
} else if (buffer.x>0) {
+ apply=true;
100
this.cursorBackward({params:[1]});
101
} else if (line.isWrapped) {
102
103
this.cursorPrecedingLine({params:[1]});
104
scanEOL();
105
--this._activeBuffer.x;
0 commit comments