mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
More polish
This commit is contained in:
@@ -326,8 +326,8 @@ export const customGlyphDefinitions: { [index: string]: CustomGlyphCharacterDefi
|
||||
|
||||
// #region Git Branch Symbols (F5D0-F60D)
|
||||
|
||||
// Initially added in https://github.com/kovidgoyal/kitty/pull/7681 then in
|
||||
// [Wezterm](https://github.com/wezterm/wezterm/issues/6328).
|
||||
// Initially added in Kitty (https://github.com/kovidgoyal/kitty/pull/7681)
|
||||
// then in Wezterm (https://github.com/wezterm/wezterm/issues/6328).
|
||||
|
||||
// Straight lines (F5D0-F5D9)
|
||||
'\u{F5D0}': GitBranchSymbolsParts.LINE_H, // Same as 2500
|
||||
@@ -381,7 +381,8 @@ export const customGlyphDefinitions: { [index: string]: CustomGlyphCharacterDefi
|
||||
'\u{F5FA}': [GitBranchSymbolsParts.NODE_FILL, GitBranchSymbolsParts.NODE_STROKE, GitBranchSymbolsParts.NODE_LINE_DOWN, GitBranchSymbolsParts.NODE_LINE_UP],
|
||||
'\u{F5FB}': [GitBranchSymbolsParts.NODE_STROKE, GitBranchSymbolsParts.NODE_LINE_DOWN, GitBranchSymbolsParts.NODE_LINE_UP],
|
||||
|
||||
// Extended Git Branch Symbols (F5FC-F60D)
|
||||
// Extended Nodes (F5FC-F60D)
|
||||
// These were added a little later https://github.com/kovidgoyal/kitty/pull/7805
|
||||
'\u{F5FC}': [GitBranchSymbolsParts.NODE_FILL, GitBranchSymbolsParts.NODE_STROKE, GitBranchSymbolsParts.NODE_LINE_DOWN, GitBranchSymbolsParts.NODE_LINE_RIGHT],
|
||||
'\u{F5FD}': [GitBranchSymbolsParts.NODE_STROKE, GitBranchSymbolsParts.NODE_LINE_DOWN, GitBranchSymbolsParts.NODE_LINE_RIGHT],
|
||||
'\u{F5FE}': [GitBranchSymbolsParts.NODE_FILL, GitBranchSymbolsParts.NODE_STROKE, GitBranchSymbolsParts.NODE_LINE_DOWN, GitBranchSymbolsParts.NODE_LINE_LEFT],
|
||||
|
||||
+2
-4
@@ -67,15 +67,13 @@ declare module '@xterm/addon-webgl' {
|
||||
* - Symbols for Legacy Computing (U+1FB00–U+1FBFF)
|
||||
*
|
||||
* This will typically result in better rendering with continuous lines,
|
||||
* even when line height and letter spacing is used. Note that this doesn't
|
||||
* work with the DOM renderer which renders all characters using the font.
|
||||
* The default is true.
|
||||
* even when line height and letter spacing is used. The default is true.
|
||||
*/
|
||||
customGlyphs?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to enable the preserveDrawingBuffer flag when creating the WebGL
|
||||
* context. This may be useful in tests. This defaults to false.
|
||||
* context. This may be useful in tests. This default is false.
|
||||
*/
|
||||
preserveDrawingBuffer?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user