Daniel Imms
a644b5d068
Clean up dealing with animation frame
2024-07-10 13:50:07 -07:00
Daniel Imms
31e0af745d
Fix out-esbuild build
2024-07-10 13:42:14 -07:00
Daniel Imms
444c07fd81
Replace monaco- with xterm- in code/css files
2024-07-10 13:33:43 -07:00
Daniel Imms
59a8f0cf8e
_getMutableOptions -> _getChangeOptions
2024-07-10 12:47:47 -07:00
Daniel Imms
1096b7f17f
Create shared file for viewport constants
2024-07-10 12:40:02 -07:00
Daniel Imms
55c627572c
Support smooth scroll
2024-07-10 12:32:55 -07:00
Daniel Imms
2b8ccb5e51
Deprecate fast scroll modifier as it's no longer possible
...
Not possible via the component we import. We could add this but I
doubt it was being used anyway.
2024-07-10 08:30:32 -07:00
Daniel Imms
d1d25a5bf7
Polish all files (excl. CoreBrowserTerminal/Viewport)
2024-07-10 08:08:02 -07:00
Daniel Imms
ade5591d60
Const enum over magic number
2024-07-10 07:58:29 -07:00
Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
Daniel Imms
c7f80986c8
Inline some functions
2024-07-10 07:33:53 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
75bf192af5
Have scroll bar bg react to theme change
2024-07-10 07:03:51 -07:00
Daniel Imms
416f12fcc3
Remove ScrollSource
...
This isn't used anymore, it was used earlier to workaround recursion between
the viewport and the terminal objects
2024-07-10 07:01:44 -07:00
Daniel Imms
1dada9f256
Fix scroll lines API
2024-07-10 06:27:47 -07:00
Daniel Imms
27195b003a
Patch out unsafe usage of navigator and window in node envs
2024-07-10 06:22:16 -07:00
Daniel Imms
4789c24e1e
Get esbuild working and adopt vs scrollbar
2024-07-09 11:19:15 -07:00
Daniel Imms
c30bffc60c
Set up vs project
2024-07-09 10:52:09 -07:00
Daniel Imms
057abba08b
mjs and js
2024-07-05 11:48:42 -07:00
Daniel Imms
9c3694af5a
Move unit tests onto esbuild sources
2024-07-05 09:10:20 -07:00
Daniel Imms
1f11c7e46c
Get sources building with esbuild
2024-07-05 08:46:15 -07:00
Daniel Imms
5b5e262dff
Merge pull request #5089 from Tyriar/tyriar/dts
...
Remove src dts files and correct exports
2024-07-05 08:20:03 -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
Daniel Imms
132553f521
Sync DOM decoration styles when line height/width changes
...
See microsoft/vscode#219979
2024-07-04 08:37:48 -07:00
Daniel Imms
12e5841959
Fix lint
2024-06-04 05:30:54 -07:00
Daniel Imms
599cbc49f7
Merge branch 'master' into a11y-char-width2
2024-06-04 05:29:06 -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
af8a663f70
Merge branch 'master' into fix/memory-leak
2024-04-21 08:06:05 -07:00
Daniel Imms
a7df139c46
Merge branch 'master' into fix-#4917
2024-04-21 07:38:10 -07:00
Daniel Imms
292042e813
Merge pull request #4984 from tisilent/fix-#4983
...
Clear timer when dispose
2024-04-21 07:33:52 -07:00
Daniel Imms
7b66da2706
Merge branch 'master' into tyriar/4911
2024-04-20 11:16:31 -07:00
Daniel Imms
a4a7ce843c
Reduce gc pressure in api verify integers
2024-04-20 11:08:28 -07:00
Daniel Imms
16db227119
Prevent smooth scroll from running more than once per frame
...
Fixes #5036
2024-04-20 08:11:59 -07:00
ksqsf
52e8a75e9f
Fix duplicate input for some IMEs
...
fixes #5023
2024-04-08 13:42:55 +08: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
tisilent
fe22671a6e
Clear timer when dispose
2024-03-06 17:03:25 +08:00
Daniel Imms
fb867a914a
Merge pull request #4973 from Tyriar/spacing
...
Fix spacing issue when measuring before element is attached
2024-02-29 07:43:03 -08: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
1c4e0111cb
Merge branch 'master' into master
2024-02-02 12:07:10 -08:00
Daniel Imms
546bcb5133
Prevent npe in render service
...
See microsoft/vscode#204104
2024-02-02 09:58:21 -08: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
09a0dd658d
Final fixes
2024-02-01 13:11:54 +03:00