Improve docs on Terminal.resize

This commit is contained in:
Daniel Imms
2019-01-31 14:00:39 -08:00
committed by GitHub
parent 93d3842156
commit 828f14f2ab
+3 -1
View File
@@ -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.
*/