ys-ll
d07813da37
Add cell color override API for text recoloring
...
Add setCellColorOverrides/clearCellColorOverrides to the terminal API,
backed by a per-line sparse override store consumed by the DOM renderer's
row factory. Covered cells render their original text in the given color,
with override equality participating in span merging so runs break only at
color boundaries. Overrides are keyed by absolute buffer line of the active
buffer; refresh is limited to the affected viewport rows.
This gives embedders a cheap way to recolor terminal text (e.g. keyword
highlighting) without decoration objects, which fragment text spans and
carry per-cell lookup cost in the DOM renderer, and which are force-hidden
while the alternate buffer is active.
2026-09-20 19:20:47 +08:00
Daniel Imms
f68d1e5d58
Skip sync output tests for now
2025-12-21 13:03:25 -08:00
Daniel Imms
6733e13a44
Invert initial assertion
2025-12-20 07:33:18 -08:00
Daniel Imms
ad07f2cf76
Revert last frame request cache clearing
2025-12-20 07:23:20 -08:00
Daniel Imms
12c4f9536e
Use underline cursor style to ensure cursor color isn't reported
2025-12-20 07:13:41 -08:00
Daniel Imms
e9ba31f1b6
Explicitly set background color in playwright tests
2025-12-20 06:40:16 -08:00
Daniel Imms
832aa54478
Fix colors and clear cached frames to pass tests
2025-12-20 06:04:11 -08:00
Daniel Imms
7f50b56ae4
Fix one playwright test
2025-12-10 08:44:13 -08:00
Chris Lloyd and Claude
6b63c5f260
Address PR review feedback for synchronized output
...
- Remove synchronizedOutputTimeout public API, hardcode 1s timeout
- Extract SynchronizedOutputHandler class for cleaner code
- Update spec URL to contour-terminal/vt-extensions
- Remove unnecessary comment in InputHandler
- Delete unit tests, add integration tests in SharedRendererTests
- Fix whitespace issue
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-09 07:58:31 -08:00
Loïc Mangeonjean
149527ddb8
refactor: apply requested style change
2025-07-31 17:08:30 +02:00
Loïc Mangeonjean
3ad83dd70e
chore: add webgl shadow dom test
2025-05-21 21:51:01 +02:00
Daniel Imms
18c9eb1960
Remove .only
2024-12-20 09:01:30 -08:00
Daniel Imms
3e998387fe
Blend cursorAccent with background too
...
Fixes #5241
2024-12-20 08:51:17 -08:00
Daniel Imms
b74ec267e2
Blend cursor with background to support alpha in webgl
...
Fixes #5241
2024-12-20 07:37:12 -08:00
jerch
3d9668f8fa
fix dispose error in Terminal.test.ts
2024-10-04 15:50:36 +02:00
Daniel Imms
bf41eb4204
Add top/bottom border overview ruler options
2024-07-15 09:14:49 -07:00
Daniel Imms
9141b525a6
Migrate rest of EventEmitter to base/ Emitter
2024-07-14 08:06:48 -07:00
Daniel Imms
faed3e7c80
Move playwright tests to use project references
2024-07-07 09:06:26 -07:00
Daniel Imms
ba3ba899a5
Clean up
2024-07-05 08:55:01 -07:00
Daniel Imms
1f11c7e46c
Get sources building with esbuild
2024-07-05 08:46:15 -07:00
Daniel Imms
b7988bf00a
Upgrade playwright tsconfigs to use ESNext
...
This ends up outputing the required object destructuring that's needed by
playwright, see microsoft/playwright#8798
2024-07-03 04:31:34 -07:00
Daniel Imms
f44d68ef4a
Remain test/api project
2024-07-03 03:10:58 -07:00
Daniel Imms
daa2440a40
Fix playwright project names
2024-07-02 11:42:39 -07:00
Daniel Imms
6ed1f42fbe
Merge branch 'master' into osc52
2024-04-22 02:04:33 -07:00
Daniel Imms
a7df139c46
Merge branch 'master' into fix-#4917
2024-04-21 07:38:10 -07:00
Ayman Bagabas
acc0a2ef78
Support passing playwright browser options
2024-04-08 12:53:17 +03:00
Ayman Bagabas
00514d41b6
Undo format
2024-04-08 12:45:55 +03:00
Ayman Bagabas
fad97bc4d5
Clean up
2024-04-08 04:40:17 +03:00
Ayman Bagabas
805cabafe8
Merge remote-tracking branch 'upstream/master' into osc52
2024-04-07 23:22:01 +03:00
Daniel Imms
a4f1299f42
Special case cursor block blink to not use important
...
Fixes #4987
2024-03-16 11:07:05 -07:00
arencoskun
cae42772e8
Move function to CoreTerminal, add additional argument to specify if the input was user input or not.
2024-02-01 14:11:29 +03:00
arencoskun
f1e563ad5f
Expose API method for writing to application side ( #4948 )
2024-02-01 11:17:25 +03: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
750f3179de
move test
2024-01-01 22:48:39 +08:00
tisilent
b1d9b4751d
Check after updating the SelectionRenderModel
2024-01-01 22:25:54 +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
a4505ed724
Skip another test on canvas
2023-12-19 08:47:54 -08:00
Daniel Imms
b843e0fc8e
Pass through dom skip exceptions flag
2023-12-19 08:44:14 -08:00
Daniel Imms
c0fac5e5f1
Fix test suppression
2023-12-19 08:38:55 -08:00
Daniel Imms
78a945ae9e
Suppress test failure
2023-12-19 08:34:16 -08:00
Daniel Imms
7bee001868
Ensure addons are loaded in standalone tests
2023-12-19 08:18:44 -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
88ba66d00b
addCustomWheelEventHandler API
...
I opted for consistency with the key event handler over our more modern
approach, we can migrate them at the same time if we end up returning
a disposable.
See microsoft/vscode#76381
2023-12-12 05:17:24 -08:00
Daniel Imms
a4e6713823
Merge remote-tracking branch 'upstream/master' into pr/aymanbagabas/4220
2023-11-03 11:35:23 -07:00
Daniel Imms
8a1790d6d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4801
2023-11-02 11:13:00 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Ayman Bagabas
2a8ddcd508
Merge branch 'master' into osc52
2023-10-04 11:30:55 -07:00
Daniel Imms
f6c4aee928
Move benchmarks off removed node-pty apis
2023-10-02 11:05:33 -07:00
Ayman Bagabas
d245e90185
Add playwright terminal test
2023-09-21 12:09:30 -04:00
Ayman Bagabas
b22762b472
Fix tsconfigs, IDisposable, and add comments
2023-09-21 10:26:46 -04:00