Daniel Imms
9f3be5e28d
Simplify terminal interfaces
...
Fixes #4663
2023-08-15 07:49:31 -07:00
Daniel Imms
f69f803f0f
Implement public APIs internally to inherit docs
...
Part of #4663
2023-08-15 07:46:51 -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
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -07:00
Daniel Imms
c908eeed5c
Merge pull request #4667 from Dennnnny/fix-transparent-foreground-color
...
Fix transparent foreground color
2023-08-14 12:11:04 -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
dennnnny
855e911398
Fix transparent foreground color
2023-08-14 09:49:18 +08:00
Daniel Imms
73a77cda3d
DOM: Render selection color instead of cell bg
...
Summary:
- Selection cell reuse has been added to the DOM renderer
- Selection bg override is now correctly set correctly
- Selection elements 'pretend' to be a decoration in order to render bg
Fixes #4097
2023-08-13 13:56:51 -07:00
Daniel Imms
6c9346011d
Merge pull request #4672 from Tyriar/4262
...
Enforce half minimum contrast ratio for dim text
2023-08-13 13:14:45 -07:00
Daniel Imms
28c4732abc
Fix ThemeService.ctor test
2023-08-13 13:04:40 -07:00
Daniel Imms
1cef30cca0
Enforce half minimum contrast ratio for dim text
...
Provided MCR is not too high, this ensures dim text differs from normal
text and has a reasonable difference in contrast.
Fixes #4262
2023-08-13 11:27:57 -07:00
Daniel Imms
70f6fa2bc9
Fix SortedList.values iteration and general dec lifecycle fixes
...
Fixes #4652
2023-08-13 10:42:45 -07:00
dennnnny
bef87403db
Fix force transparent foreground colors to be opaque
2023-08-13 17:52:49 +08:00
Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -07:00
dennnnny
fb7349bc87
Fix transparent foreground color
2023-08-12 08:39:39 +08:00
Daniel Imms
dc390ab03a
Merge pull request #4657 from tisilent/add-cursorInactiveStyle-option
...
Add cursorInactiveStyle option
2023-08-11 13:16:51 -07:00
Daniel Imms
4b2f774f53
Merge pull request #4664 from tisilent/fix-canvas-underline-cutoff
...
Fix canvas underline is cut off.
2023-08-11 10:01:28 -07:00
Daniel Imms
07d187151e
Update src/browser/renderer/shared/TextureAtlas.ts
2023-08-11 09:50:22 -07:00
tisilent
f317b96262
Fix canvas underline is cut off.
2023-08-11 17:58:29 +08:00
tisilent
c3d8c2a919
Update test and fix
2023-08-11 15:47:50 +08:00
tisilent
5c1e6dce99
Add block to cursorInactiveStyle,
...
change line to bar
2023-08-11 11:36:40 +08:00
tisilent
0321bcb715
Remove special classes.
...
Add xterm-cursor-outline class.
2023-08-11 09:40:06 +08:00
jerch
9b21786062
Merge branch 'master' into clusters
2023-08-10 18:31:04 +02:00
Daniel Imms
1b4460e37d
Merge pull request #4655 from Tyriar/tyriar/4645
...
Fix API facade memory leaks
2023-08-10 07:29:14 -07:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
Daniel Imms
62055522fb
Fix API facade memory leaks
...
We need to register/dispose any event created in the facades, otherwise
embedders need to dispose of the listeners manually.
Fixes #4645
2023-08-09 15:55:31 -07:00
jerch
0366aa2217
Merge branch 'master' into fix_4642
2023-08-10 00:24:03 +02:00
Jörg Breitbart
2b79b7b29f
faster SortedList._search
2023-08-10 00:12:00 +02:00
Jörg Breitbart
a84a95055d
exclude decorated cells from merging
2023-08-09 14:20:08 +02:00
tisilent
b8bf35be17
Add restrictToCellHeight,Restore abnormal format
2023-08-09 11:53:30 +08:00
tisilent
3ba579f680
fix double underline, upwards
2023-08-08 18:36:44 +08:00
Per Bothner
302da18c81
Rename local variable precedingInfo in InputHandler to precedingJoinState
2023-08-07 13:08:35 -07:00
Per Bothner
4fbc623706
Expand doc comments for UnicodeCharProperties and UnicodeCharWidth.
2023-08-07 11:55:52 -07:00
Per Bothner
f1035405e6
Move precedingJoinState from EscapeSequenceParser to InputHandler
...
This allows InputHandler._parser to be IEscapeSequenceParser
rather than EscapeSequenceParser.
2023-08-06 12:44:43 -07:00
Per Bothner
88bfc6bb2b
Tweak charProperties doc comment.
2023-08-06 08:28:08 -07:00
Per Bothner
42042155d4
Merge branch 'master' into clusters
2023-08-03 22:30:46 -07:00
Per Bothner
6b2459317b
Null out following columns after grapheme cluster
2023-08-03 22:29:36 -07:00
Daniel Imms
d2031955ec
Remove error from MockViewport.reset
2023-08-02 11:42:40 -07:00
Daniel Imms
7baff4e249
Merge branch 'master' into clusters
2023-08-02 11:41:22 -07:00
Daniel Imms
91c08ed48e
Fix clear leaving viewport in a bad state
...
Fixes #4603
2023-08-02 11:30:43 -07:00
Daniel Imms
acf53f69e0
Ensure viewport is correctly reset on term.reset
...
Part of #4603
2023-08-02 11:18:00 -07:00
Daniel Imms
bb237f109a
Merge pull request #4637 from meganrogge/merogge/fix-acc-tree
...
fix a11y tree
2023-08-02 08:30:06 -07:00
meganrogge
44d4ec83fc
revert change
2023-08-02 08:17:18 -07:00
meganrogge
33124a31bd
fix #4571
2023-08-02 08:14:16 -07:00
Daniel Imms
44ced27bee
Add ignoreBracketedPasteMode option
...
Fixes #4588
2023-08-01 13:58:52 -07:00
Jörg Breitbart
b7a597f925
use offsetWidth for measuring
2023-08-01 19:53:41 +02:00
Jörg Breitbart
ae84ee39f3
Merge branch 'master' into faster_dom
2023-08-01 19:21:30 +02:00
jerch
73e60586c9
Merge pull request #4584 from dlech/fix-underline-style
...
use border-bottom instead of box-shadow for underline cursor in DOM renderer
2023-08-01 19:15:41 +02:00
Jörg Breitbart
b56bc77dcc
make font variant positions explicit with const enum
2023-08-01 18:35:48 +02:00