Skip to content

Commit 36136a4

Browse files
authored
Merge pull request #3241 from mmis1000/fix/serialize-addon-typings
SerializeAddon: fix parameter name in typing
2 parents 70051da + 8b273e6 commit 36136a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addons/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ declare module 'xterm-addon-serialize' {
2525
* to restore the state. The cursor will also be positioned to the correct cell.
2626
* When restoring a terminal it is best to do before `Terminal.open` is called
2727
* to avoid wasting CPU cycles rendering incomplete frames.
28-
* @param rows The number of rows to serialize, starting from the bottom of the
29-
* terminal. This defaults to the number of rows in the viewport.
28+
* @param scrollback The number of rows in scrollback buffer to serialize, starting from the bottom of the
29+
* scrollback buffer. This defaults to the all available rows in the scrollback buffer.
3030
*/
31-
public serialize(rows?: number): string;
31+
public serialize(scrollback?: number): string;
3232

3333
/**
3434
* Disposes the addon.

0 commit comments

Comments
 (0)