Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML serialization #3619

Merged
merged 16 commits into from
Feb 22, 2022
Prev Previous commit
Next Next commit
Fix serialize tests
silamon committed Feb 2, 2022
commit bc9e6b49e88500c25d323178397b5e2717a2f87c
4 changes: 2 additions & 2 deletions addons/xterm-addon-serialize/src/SerializeAddon.ts
Original file line number Diff line number Diff line change
@@ -412,7 +412,7 @@ export class SerializeAddon implements ITerminalAddon {
const correctRows = (scrollback === undefined) ? maxRows : constrain(scrollback + terminal.rows, 0, maxRows);
return handler.serialize({
start: { x: maxRows - correctRows, y: 0 },
end: { x: maxRows, y: terminal.cols }
end: { x: maxRows - 1, y: terminal.cols }
});
}

@@ -425,7 +425,7 @@ export class SerializeAddon implements ITerminalAddon {
const correctRows = (scrollback === undefined) ? maxRows : constrain(scrollback + terminal.rows, 0, maxRows);
return handler.serialize({
start: { x: maxRows - correctRows, y: 0 },
end: { x: maxRows, y: terminal.cols }
end: { x: maxRows - 1, y: terminal.cols }
});
}