Skip to content

Commit

Permalink
Merge pull request xtermjs#3241 from mmis1000/fix/serialize-addon-typ…
Browse files Browse the repository at this point in the history
…ings

SerializeAddon: fix parameter name in typing
  • Loading branch information
Tyriar authored Feb 3, 2021
2 parents 70051da + 8b273e6 commit 36136a4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ declare module 'xterm-addon-serialize' {
* to restore the state. The cursor will also be positioned to the correct cell.
* When restoring a terminal it is best to do before `Terminal.open` is called
* to avoid wasting CPU cycles rendering incomplete frames.
* @param rows The number of rows to serialize, starting from the bottom of the
* terminal. This defaults to the number of rows in the viewport.
* @param scrollback The number of rows in scrollback buffer to serialize, starting from the bottom of the
* scrollback buffer. This defaults to the all available rows in the scrollback buffer.
*/
public serialize(rows?: number): string;
public serialize(scrollback?: number): string;

/**
* Disposes the addon.
Expand Down

0 comments on commit 36136a4

Please sign in to comment.