Tweak API position/docs

This commit is contained in:
Daniel Imms
2025-04-21 06:34:45 -07:00
parent 26d29abef1
commit 2c836ede76
2 changed files with 14 additions and 14 deletions
+7 -7
View File
@@ -186,6 +186,13 @@ declare module '@xterm/headless' {
*/
scrollback?: number;
/**
* If enabled ED2 (clear screen) escape sequence will push
* erased text to scrollback.
* This emulates PuTTY default clear screen behavior.
*/
scrollOnDisplayErase?: boolean;
/**
* The scrolling speed multiplier used for adjusting normal scrolling speed.
*/
@@ -255,13 +262,6 @@ declare module '@xterm/headless' {
* All features are disabled by default for security reasons.
*/
windowOptions?: IWindowOptions;
/**
* If enabled ED2 (clear screen) escape sequence will push
* erased text to scrollback.
* This emulates PuTTY default clear screen behavior.
*/
scrollOnDisplayErase?: boolean;
}
/**
+7 -7
View File
@@ -257,6 +257,13 @@ declare module '@xterm/xterm' {
*/
scrollback?: number;
/**
* If enabled the Erase in Display All (ED2) escape sequence will push
* erased text to scrollback, instead of clearing only the viewport portion.
* This emulates PuTTY's default clear screen behavior.
*/
scrollOnDisplayErase?: boolean;
/**
* Whether to scroll to the bottom whenever there is some user input. The
* default is true.
@@ -338,13 +345,6 @@ declare module '@xterm/xterm' {
* decorations underneath the scroll bar.
*/
overviewRuler?: IOverviewRulerOptions;
/**
* If enabled ED2 (clear screen) escape sequence will push
* erased text to scrollback.
* This emulates PuTTY default clear screen behavior.
*/
scrollOnDisplayErase?: boolean;
}
/**