Skip to content

Commit dacb574

Browse files
committed
Fix duplicated characters
This was a regression from c561fbe
1 parent c561fbe commit dacb574

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,8 @@ async function createTerminal(element: HTMLElement, toDispose: DisposableCollect
162162
const unwantedSequence = '\x1b[0;276;0c';
163163
if (buffer.includes(unwantedSequence)) {
164164
buffer = buffer.replaceAll(unwantedSequence, '');
165+
term.write(buffer);
165166
}
166-
167-
term.write(buffer);
168167
buffer = '';
169168
});
170169

0 commit comments

Comments
 (0)