Cursor Agent and Daniel Imms
5070a08b58
Move Color to base; slim services/Types; colocate ICoreTerminal
...
- Restore Color.ts under common/base/ (not services)
- Add base/ColorTypes (IColor, IColorRGB)
- Add terminal/CoreTerminalTypes (ICoreTerminal, IScrollEvent, XtermListener)
- Add terminal/InputHandlerTypes and input/WindowOptions for handler types
- services/Types.ts: service-only (modes, mouse, osc link, cursor styles)
- Update imports across src, addons, browser; re-export KeyboardResultType removed
- browser tsconfig: exclude unit tests from composite build
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-30 17:45:15 +00:00
Cursor Agent and Daniel Imms
1d125ac715
Restructure common into layered folders (issue #5963 )
...
Reorganize src/common into platform (base, encoding, data, buffer,
parser, input), integration (services, terminal), and public API layers.
- Move core utilities to common/base/
- Move TextDecoder to common/encoding/
- Move Types, CircularList, Color, TaskQueue, SortedList to common/services/
- Move CoreTerminal, InputHandler, WindowsMode to common/terminal/
- Define ICharset in common/data/Charsets.ts (re-exported from Types)
- Update imports across src/, addons/, and test/
- Add per-layer tsconfig.json files and REARCHITECTURE.md
- Root common/tsconfig.json remains the composite build entry
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-30 16:12:18 +00:00
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
8a00898533
Implement blink rendering
...
Fixes #944
2026-02-03 03:46:21 -08:00
Daniel Imms
5938b8823d
Add @stylistic/comma-spacing eslint rule
2026-01-31 07:38:16 -08:00
Daniel Imms
f80dbf3d03
Fix lint, split up namespace and interface
2026-01-30 06:21:15 -08:00
Daniel Imms
e8d99d50a6
Remove vs dependency in common
...
Fixes #5631
2026-01-30 06:03:16 -08:00
Daniel Imms
c975956f2a
Merge pull request #5529 from Tyriar/worktree1
...
Force a sync render after resize occurs
2025-12-28 14:44:44 -08:00
Daniel Imms
4619a755b1
Force a sync render after resize occurs
...
Fixes #4922
Related microsoft/vscode#230120
2025-12-28 14:38:42 -08:00
Daniel Imms
2c32ef5963
Fix lint
2025-12-28 13:53:03 -08:00
Daniel Imms
4985c9f3f9
Use shared constant for idle timeout
2025-12-28 13:37:25 -08:00
Daniel Imms
71f50b841f
Move webgl-specific types into addon
2025-01-08 10:39:06 -08:00
Daniel Imms
d70f2a462c
Move webgl-specific shared code into addon
...
Never got moved when canvas addon was removed
2025-01-08 10:35:39 -08:00
Daniel Imms
408d0995dd
Support detailed ligatures and variants
...
Fixes #5284
2025-01-08 06:26:15 -08:00
Daniel Imms
a7b98de833
Handle overflowing to new row
2025-01-07 06:28:59 -08:00
Daniel Imms
7541cf2fd7
Add todo
2025-01-06 11:52:20 -08:00
Daniel Imms
e882f4a46a
Prototype of adding a large atlas page for overflow glyphs
...
Part of #5246
2025-01-06 11:50:08 -08:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
9c7e2ea98e
Remove IEvent and runAndSubscribe
2024-07-14 08:17:16 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
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
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
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
3c88c767cd
Fix background selection blending for true color
...
Bug in #4920
See microsoft/vscode#200428
2024-01-30 11:16:19 -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
Daniel Imms
bfa6f656ef
Merge branch 'master' into underline-dotted
2023-09-11 08:47:04 -07:00
Daniel Imms
851c2e39af
Fix webgl not respecting MCR for inverse
...
Part of #4759
2023-09-09 08:37:55 -07: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