Skip to content

Commit

Permalink
Merge pull request #1919 from xtermjs/Tyriar-patch-1
Browse files Browse the repository at this point in the history
Improve docs on Terminal.resize
  • Loading branch information
Tyriar authored Jan 31, 2019
2 parents 93d3842 + 828f14f commit 8e88ce8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typings/xterm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ declare module 'xterm' {
addDisposableListener(type: string, handler: (...args: any[]) => void): IDisposable;

/**
* Resizes the terminal.
* Resizes the terminal. It's best practice to debounce calls to resize,
* this will help ensure that the pty can respond to the resize event
* before another one occurs.
* @param x The number of columns to resize to.
* @param y The number of rows to resize to.
*/
Expand Down

0 comments on commit 8e88ce8

Please sign in to comment.