Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
7b2e8a6ce1
Remove src dts files and correct exports
...
Esbuild doesn't appear to play nice with dts files and when they are regular ts
files they require the exports
2024-07-05 06:51:00 -07:00
Joel Hockey
d52f09de3c
Add powerline git, LN, lock symbols
...
Symbols taken from https://github.com/powerline/fontpatcher/blob/develop/fonts/powerline-symbols.sfd
The original symbols use height and widith of approx 1060x2048, so I
modified to be roughly 1000x1000 via:
fontforge -lang=ff -c 'Open($1); SelectAll(); UnlinkReference(); Scale(100, 50); Move(0, 300); Export("svg/%n-%e.svg");' powerline-symbols.sfd
Then I edited by hand to round values to approx 2 significant digits,
and then used a script to convert relative SVG commands such as 'l',
'c', 's' to use only 'M', 'L' and 'C' and used expected format with
comma separators rather than spaces, and divide all values by 1000 to
map into a 1x1 space.
2024-05-12 17:56:38 -07:00
Daniel Imms
a7df139c46
Merge branch 'master' into fix-#4917
2024-04-21 07:38:10 -07:00
Daniel Imms
4c90009a0e
Don't rescale ascii
...
See microsoft/vscode#208102
2024-03-20 10:02:53 -07:00
Daniel Imms
f8ae7edaa0
Only scale when over 50% of following cell
...
See microsoft/vscode#208102
2024-03-19 08:56:13 -07:00
Daniel Imms
a4f1299f42
Special case cursor block blink to not use important
...
Fixes #4987
2024-03-16 11:07:05 -07:00
Daniel Imms
7b76ca7e49
Make dom rendere animation classes more readable
2024-03-16 09:57:23 -07:00
Daniel Imms
18147b2134
Fix bar blink animation
2024-03-16 09:55:20 -07:00
Daniel Imms
c78af2b448
Fix dom cursor blink animation
...
Fixes #4987
Doesn't seem to regress #4773 which caused this issue
2024-03-16 09:49:36 -07:00
Daniel Imms
4071f41f52
Don't rescale unless it exceeds 25% of following cell
...
Fixes #5005
2024-03-16 09:16:31 -07:00
Daniel Imms
48c6e96a78
Don't rescale powerline or nerd fonts
...
Part of #4969
2024-03-15 08:18:26 -07:00
Daniel Imms
33a7a9b6a2
Implement rescaleOverlappingGlyphs in webgl
...
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms
8ef3c10844
Fix spacing issue when measuring before element is attached
...
See microsoft/vscode#204690
2024-02-29 07:37:32 -08:00
Daniel Imms
3c88c767cd
Fix background selection blending for true color
...
Bug in #4920
See microsoft/vscode#200428
2024-01-30 11:16:19 -08:00
tisilent
b1d9b4751d
Check after updating the SelectionRenderModel
2024-01-01 22:25:54 +08:00
Daniel Imms
1a82e0d421
Remove todo
...
Not much gain by caching the value
2023-12-28 09:47:05 -08:00
Daniel Imms
94a9ce8566
Move toColor into channels
...
It operates on rgba channels, not a packed 32 bit int
2023-12-28 09:29:30 -08:00
Daniel Imms
341d9f0597
Merge pull request #4920 from Tyriar/tyriar/bg_blend
...
Add bg+powerline background blend behavior
2023-12-19 08:57:03 -08:00
Daniel Imms
22f1ce4a11
Add bg+powerline background blend behavior
...
When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.
This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o
Fixes #4918
2023-12-19 08:16:48 -08:00
Daniel Imms
7c5ad6b7a9
Remove tracing drawToCache call
...
This was a little noisy and didn't end up being that useful
2023-12-19 05:44:55 -08:00
tisilent
2861a4dd39
Draw dashed lines through ratios
2023-11-08 17:58:38 +08:00
Daniel Imms
6214f4c2e6
Varinat -> Variant
2023-11-02 10:43:56 -07:00
Daniel Imms
390e4f30c8
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-11-02 10:39:15 -07:00
Daniel Imms
b6a09d67e2
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4837
2023-11-02 09:30:17 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -07:00
tisilent
eb4277e7bd
using ITerminal
2023-10-16 09:35:21 +08:00
tisilent
6b5fc260ca
Dom Renderer using SelectionRenderModel
2023-10-10 22:53:01 +08:00
tisilent
d3e075f37b
handle selection when resizing
2023-10-10 15:54:15 +08:00
Thomas Zilz
aaadefa548
Move WidthCache measure container to helper container
2023-09-15 10:51:31 +02:00
tisilent
a1229c78a2
Add cursor initialize test
2023-09-13 18:43:04 +08:00
tisilent
cc14bc4515
using isCursorInitialized for domrenderer
2023-09-13 17:34:31 +08:00
Daniel Imms
bfa6f656ef
Merge branch 'master' into underline-dotted
2023-09-11 08:47:04 -07:00
Daniel Imms
3b15fb6211
Fix block cursor rendering in DOM renderer
...
Fixes #4773
2023-09-10 08:27:18 -07:00
Daniel Imms
b0868967cb
Fix inverse MCR with selection for dom renderer
...
Fixes #4759
2023-09-09 08:52:43 -07:00
Daniel Imms
851c2e39af
Fix webgl not respecting MCR for inverse
...
Part of #4759
2023-09-09 08:37:55 -07:00
Daniel Imms
50369713de
Merge branch 'master' into fix-selection-background-domrenderer
2023-09-09 06:16:42 -07:00
Daniel Imms
608a5e2329
Merge branch 'master' into Fix-Domrenderer-Invisible
2023-09-09 04:58:39 -07:00
tisilent
393a8b3a86
When DomRenderer blue,perform rendering.
2023-09-08 18:08:14 +08:00
tisilent
c64115e0a0
Add handling of invisible
2023-09-08 17:34:03 +08:00
tisilent
c03cb2b016
When DomRenderer focus,render the cursor line.
2023-09-07 23:44:36 +08:00
YAYA 刘玉婷
7fa56fde0b
Merge branch 'master' into underline-dotted
2023-09-01 14:12:01 +08:00
Daniel Imms
f7ac0d878b
Center new semi-circle line glyphs
2023-08-28 02:20:31 -07:00
Daniel Imms
fe2723b585
Merge branch 'master' into circle-line-custom-powerline-glyph
2023-08-28 02:13:56 -07:00
tisilent
7fecec6599
Offset outward
2023-08-28 16:54:27 +08:00
Daniel Imms
aba16687b0
Fix high pressure texture atlas corruption
...
The corruption was caused by confusion with page indexes when
merging pages. The fix is to simplify it by deleting all pages
and then just adding the new page.
Fixes #4534
Fixes #4351
2023-08-26 10:23:09 -07:00
Daniel Imms
797a71695f
Improve texture atlas utilization
...
- Changed the threshold at which pages start to merge from MAX/2 to
MAX.
- If a glyph is about to create a new page that will be merged,
check if the existing row fits when ignoring the row pixel
threshold. This will improve texture utilization by using the
available space before the page is merged and becomes static.
2023-08-26 09:37:08 -07:00
tisilent
9e768a4c7c
Update circle line custom powerline glyph.
2023-08-25 18:37:48 +08:00