Save cursor and restore more modes

Fixes #1526
This commit is contained in:
Daniel Imms
2025-12-30 04:49:54 -08:00
parent a5af434e3e
commit 857c4529cd
8 changed files with 59 additions and 5 deletions
+4
View File
@@ -233,6 +233,10 @@ export class MockBuffer implements IBuffer {
public savedY!: number;
public savedX!: number;
public savedCharset: ICharset | undefined;
public savedCharsets: (ICharset | undefined)[] = [];
public savedGlevel: number = 0;
public savedOriginMode: boolean = false;
public savedWraparoundMode: boolean = true;
public savedCurAttrData = new AttributeData();
public translateBufferLineToString(lineIndex: number, trimRight: boolean, startCol?: number, endCol?: number): string {
return Buffer.prototype.translateBufferLineToString.apply(this, arguments as any);