Skip to content

Commit

Permalink
Improve docs on Terminal.resize
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Jan 31, 2019
1 parent 93d3842 commit 828f14f
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 828f14f

Please sign in to comment.