fix indentation

This commit is contained in:
meganrogge
2025-10-28 10:30:22 -04:00
parent 5141a91bba
commit 18bafaf9c9
+5 -5
View File
@@ -452,11 +452,11 @@ export class SerializeAddon implements ITerminalAddon , ISerializeApi {
const onlySelection = options.onlySelection ?? false;
const range = options.range;
if (range) {
return handler.serialize({
start: { x: 0, y: typeof range.start === 'number' ? range.start : range.start.line },
end: { x: terminal.cols, y: typeof range.end === 'number' ? range.end : range.end.line }
});
}
return handler.serialize({
start: { x: 0, y: typeof range.start === 'number' ? range.start : range.start.line },
end: { x: terminal.cols, y: typeof range.end === 'number' ? range.end : range.end.line }
});
}
if (!onlySelection) {
const maxRows = buffer.length;
const scrollback = options.scrollback;