Daniel Imms
205cf6089d
Prevent blink interval from running unless needed
...
Part of #944
2026-02-03 05:07:40 -08:00
Daniel Imms
f3a7cac49f
Handle options within blink state manager
2026-02-03 03:55:25 -08:00
Daniel Imms
0d2a58c9d0
Clean up lifecycle of blink manager
2026-02-03 03:48:28 -08:00
Daniel Imms
8a00898533
Implement blink rendering
...
Fixes #944
2026-02-03 03:46:21 -08:00
Daniel Imms
e542affaca
Use native padStart over custom impl
2026-01-31 10:17:52 -08:00
Daniel Imms
bad7e329df
Add @typescript-eslint/prefer-nullish-coalescing eslint rule
2026-01-31 08:43:05 -08:00
Daniel Imms
e8d99d50a6
Remove vs dependency in common
...
Fixes #5631
2026-01-30 06:03:16 -08:00
Daniel Imms
481431fbc1
Update playwright test to latest
2025-12-30 06:03:17 -08:00
Daniel Imms
a513120348
Get dom/width cache tests passing in node
2025-12-30 03:32:34 -08:00
Daniel Imms
ef978b370b
Use OffscreenCanvas over DOM for WidthCache
...
Fixes #5548
2025-12-30 02:57:09 -08:00
Daniel Imms
4985c9f3f9
Use shared constant for idle timeout
2025-12-28 13:37:25 -08:00
Daniel Imms
2e1651badd
Pull dom renderer blink management into class
2025-12-28 13:35:57 -08:00
Daniel Imms
7d1f74fb8b
Use const enums for constants
2025-12-28 13:33:51 -08:00
Daniel Imms
f8c1f5a32f
Add idle timeout which pauses cursor blink
...
Fixes #4628
2025-12-28 13:30:58 -08:00
Daniel Imms
9912e7b331
Disable ligatures when cursor is in range
...
Fixes #5230
2025-01-06 11:08:57 -08:00
Daniel Imms
c7a1e0aea3
Handle selections in the middle of ligatures too
2025-01-06 11:03:10 -08:00
Daniel Imms
0521378e70
Fix ligature selection in DOM renderer
...
Part of #5231
2025-01-06 10:50:13 -08:00
Daniel Imms
ce095b3593
Merge pull request #5249 from jtbandes/fix-click-not-delivered
...
Fix click event bug caused by DomRenderer replaceChildren behavior
2024-12-20 12:41:52 -08:00
Daniel Imms
b579649a39
Revert to cursor options after DECSCUSR 0
...
Fixes #3293
2024-12-20 10:34:05 -08:00
Jacob Bandes-Storch
1978399259
Fix click event bug caused by DomRenderer replaceChildren behavior
2024-12-13 13:57:17 -08:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
9712057b91
Remove the canvas renderer
...
Fixes #4779
2024-07-14 10:48:39 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
Daniel Imms
a7df139c46
Merge branch 'master' into fix-#4917
2024-04-21 07:38:10 -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
8ef3c10844
Fix spacing issue when measuring before element is attached
...
See microsoft/vscode#204690
2024-02-29 07:37:32 -08:00
tisilent
b1d9b4751d
Check after updating the SelectionRenderModel
2024-01-01 22:25:54 +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
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
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
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
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
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -07:00
Daniel Imms
843bdc4d55
Revert "Merge pull request #4611 from SimonSiefke/constructed-stylesheets"
...
This reverts commit 5889344dd2 , reversing
changes made to 679c149164 .
2023-08-15 08:33:42 -07:00
Daniel Imms
2aee19f0e1
Revert "Workaround crash that can happen in Electron/Chromium"
...
This reverts commit 2ca0ccbe0c .
2023-08-15 08:31:34 -07:00
Daniel Imms
2ca0ccbe0c
Workaround crash that can happen in Electron/Chromium
...
Part of microsoft/vscode#189753
2023-08-15 06:46:35 -07:00
Daniel Imms
09fc798e80
Remove redundant condition
...
Part of #4097
2023-08-14 05:47:25 -07:00
Daniel Imms
39ae0f45fd
Fix selectionForeground dom tests
2023-08-14 04:43:55 -07:00