Also clear scrollback in smoke tests

This commit is contained in:
Daniel Imms
2025-11-14 11:23:37 -08:00
parent e24f305153
commit e65fbaa63e

View File

@@ -101,7 +101,7 @@ export function setup(options?: { skipSuite: boolean }) {
// Use the simplest profile to get as little process interaction as possible // Use the simplest profile to get as little process interaction as possible
await terminal.createEmptyTerminal(); await terminal.createEmptyTerminal();
// Erase all content and reset cursor to top // Erase all content and reset cursor to top
await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${csi('2J')}${csi('H')}`); await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${csi('2J')}${csi('3J')}${csi('H')}`);
} }
describe('VS Code sequences', () => { describe('VS Code sequences', () => {