Partially implement git branch symbols

Part of #5477
This commit is contained in:
Daniel Imms
2025-12-24 15:03:28 -08:00
parent edf100a24b
commit 4a8d8bd247
4 changed files with 218 additions and 4 deletions
+6
View File
@@ -955,6 +955,12 @@ function customGlyphRangesHandler(): void {
['Powerline Symbols', 0xE0A0, 0xE0B3, [0xE0A4, 0xE0A5, 0xE0A6, 0xE0A7, 0xE0A8, 0xE0A9, 0xE0AA, 0xE0AB, 0xE0AC, 0xE0AD, 0xE0AE, 0xE0AF]],
['Powerline Extra Symbols', 0xE0B4, 0xE0D4, [0xE0C9, 0xE0CB, 0xE0D3]],
]);
// Git Branch Symbols
// F5D0-F5FB
// https://github.com/xtermjs/xterm.js/issues/5477
writeUnicodeTable(term, 'Git Branch Symbols', 0xF5D0, 0xF5FB, [
['Git Branch Symbols', 0xF5D0, 0xF5FB],
]);
// Symbols for Legacy Computing
// Range: 1FB00–1FBFF
// https://www.unicode.org/charts/PDF/U1FB00.pdf