Merge pull request #5522 from Tyriar/5295

Note in API that reflowCursorLine will not move the cursor
This commit is contained in:
Daniel Imms
2025-12-28 07:43:50 -08:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ declare module '@xterm/headless' {
/**
* Whether to reflow the line containing the cursor when the terminal is
* 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;
+2 -1
View File
@@ -200,7 +200,8 @@ declare module '@xterm/xterm' {
/**
* Whether to reflow the line containing the cursor when the terminal is
* 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;