Merge pull request #5522 from Tyriar/5295
Note in API that reflowCursorLine will not move the cursor
This commit is contained in:
Vendored
+2
-1
@@ -130,7 +130,8 @@ declare module '@xterm/headless' {
|
|||||||
/**
|
/**
|
||||||
* Whether to reflow the line containing the cursor when the terminal is
|
* Whether to reflow the line containing the cursor when the terminal is
|
||||||
* resized. Defaults to false, because shells usually handle this
|
* resized. Defaults to false, because shells usually handle this
|
||||||
* themselves.
|
* themselves. Note that this will not move the cursor position, only the
|
||||||
|
* line contents.
|
||||||
*/
|
*/
|
||||||
reflowCursorLine?: boolean;
|
reflowCursorLine?: boolean;
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
-1
@@ -200,7 +200,8 @@ declare module '@xterm/xterm' {
|
|||||||
/**
|
/**
|
||||||
* Whether to reflow the line containing the cursor when the terminal is
|
* Whether to reflow the line containing the cursor when the terminal is
|
||||||
* resized. Defaults to false, because shells usually handle this
|
* resized. Defaults to false, because shells usually handle this
|
||||||
* themselves.
|
* themselves. Note that this will not move the cursor position, only the
|
||||||
|
* line contents.
|
||||||
*/
|
*/
|
||||||
reflowCursorLine?: boolean;
|
reflowCursorLine?: boolean;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user