fix indentation
This commit is contained in:
@@ -452,11 +452,11 @@ export class SerializeAddon implements ITerminalAddon , ISerializeApi {
|
|||||||
const onlySelection = options.onlySelection ?? false;
|
const onlySelection = options.onlySelection ?? false;
|
||||||
const range = options.range;
|
const range = options.range;
|
||||||
if (range) {
|
if (range) {
|
||||||
return handler.serialize({
|
return handler.serialize({
|
||||||
start: { x: 0, y: typeof range.start === 'number' ? range.start : range.start.line },
|
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 }
|
end: { x: terminal.cols, y: typeof range.end === 'number' ? range.end : range.end.line }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!onlySelection) {
|
if (!onlySelection) {
|
||||||
const maxRows = buffer.length;
|
const maxRows = buffer.length;
|
||||||
const scrollback = options.scrollback;
|
const scrollback = options.scrollback;
|
||||||
|
|||||||
Reference in New Issue
Block a user