Merge branch 'master' into patch-1
This commit is contained in:
Vendored
+29
-1
@@ -140,6 +140,23 @@ declare module '@xterm/headless' {
|
||||
*/
|
||||
minimumContrastRatio?: number;
|
||||
|
||||
/**
|
||||
* Whether to rescale glyphs horizontally that are a single cell wide but
|
||||
* have glyphs that would overlap following cell(s). This typically happens
|
||||
* for ambiguous width characters (eg. the roman numeral characters U+2160+)
|
||||
* which aren't featured in monospace fonts. This is an important feature
|
||||
* for achieving GB18030 compliance.
|
||||
*
|
||||
* The following glyphs will never be rescaled:
|
||||
*
|
||||
* - Emoji glyphs
|
||||
* - Powerline glyphs
|
||||
* - Nerd font glyphs
|
||||
*
|
||||
* Note that this doesn't work with the DOM renderer. The default is false.
|
||||
*/
|
||||
rescaleOverlappingGlyphs?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to select the word under the cursor on right click, this is
|
||||
* standard behavior in a lot of macOS applications.
|
||||
@@ -156,7 +173,7 @@ declare module '@xterm/headless' {
|
||||
/**
|
||||
* The amount of scrollback in the terminal. Scrollback is the amount of
|
||||
* rows that are retained when lines are scrolled beyond the initial
|
||||
* viewport.
|
||||
* viewport. Defaults to 1000.
|
||||
*/
|
||||
scrollback?: number;
|
||||
|
||||
@@ -697,6 +714,17 @@ declare module '@xterm/headless' {
|
||||
*/
|
||||
onLineFeed: IEvent<void>;
|
||||
|
||||
/**
|
||||
* Adds an event listener for when data has been parsed by the terminal,
|
||||
* after {@link write} is called. This event is useful to listen for any
|
||||
* changes in the buffer.
|
||||
*
|
||||
* This fires at most once per frame, after data parsing completes. Note
|
||||
* that this can fire when there are still writes pending if there is a lot
|
||||
* of data.
|
||||
*/
|
||||
onWriteParsed: IEvent<void>;
|
||||
|
||||
/**
|
||||
* Adds an event listener for when the terminal is resized. The event value
|
||||
* contains the new size.
|
||||
|
||||
Vendored
+18
-1
@@ -211,6 +211,23 @@ declare module '@xterm/xterm' {
|
||||
*/
|
||||
minimumContrastRatio?: number;
|
||||
|
||||
/**
|
||||
* Whether to rescale glyphs horizontally that are a single cell wide but
|
||||
* have glyphs that would overlap following cell(s). This typically happens
|
||||
* for ambiguous width characters (eg. the roman numeral characters U+2160+)
|
||||
* which aren't featured in monospace fonts. This is an important feature
|
||||
* for achieving GB18030 compliance.
|
||||
*
|
||||
* The following glyphs will never be rescaled:
|
||||
*
|
||||
* - Emoji glyphs
|
||||
* - Powerline glyphs
|
||||
* - Nerd font glyphs
|
||||
*
|
||||
* Note that this doesn't work with the DOM renderer. The default is false.
|
||||
*/
|
||||
rescaleOverlappingGlyphs?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to select the word under the cursor on right click, this is
|
||||
* standard behavior in a lot of macOS applications.
|
||||
@@ -227,7 +244,7 @@ declare module '@xterm/xterm' {
|
||||
/**
|
||||
* The amount of scrollback in the terminal. Scrollback is the amount of
|
||||
* rows that are retained when lines are scrolled beyond the initial
|
||||
* viewport.
|
||||
* viewport. Defaults to 1000.
|
||||
*/
|
||||
scrollback?: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user