Daniel Imms
205cf6089d
Prevent blink interval from running unless needed
...
Part of #944
2026-02-03 05:07:40 -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
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
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
cc14bc4515
using isCursorInitialized for domrenderer
2023-09-13 17:34:31 +08:00
Daniel Imms
b0868967cb
Fix inverse MCR with selection for dom renderer
...
Fixes #4759
2023-09-09 08:52:43 -07:00
tisilent
c64115e0a0
Add handling of invisible
2023-09-08 17:34:03 +08:00
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -07:00
Daniel Imms
09fc798e80
Remove redundant condition
...
Part of #4097
2023-08-14 05:47:25 -07: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
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
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
Daniel Imms
dc390ab03a
Merge pull request #4657 from tisilent/add-cursorInactiveStyle-option
...
Add cursorInactiveStyle option
2023-08-11 13:16:51 -07: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
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
Jörg Breitbart
a84a95055d
exclude decorated cells from merging
2023-08-09 14:20:08 +02:00
Jörg Breitbart
e9058b7498
implement default letter spacing
2023-07-30 18:46:33 +02:00
Jörg Breitbart
b358754b46
respect dpr/charWidth changes, more accurate base measuring
2023-07-30 13:27:28 +02:00
Jörg Breitbart
64d04f0712
optimization: remove document fragment
2023-07-29 23:58:15 +02:00
Jörg Breitbart
e848151b50
change to width cache
2023-07-29 17:25:49 +02:00
Jörg Breitbart
d1fdaa17d6
apply font variant, some cleanup
2023-07-29 14:16:47 +02:00
Jörg Breitbart
5bdd5022b2
some cleanup, use faster str join for classes
2023-07-28 19:33:38 +02:00
Jörg Breitbart
370bad1380
better caching:
...
- own cache class with flat and holey cache
- use letter spacing
- on-demand measuring
2023-07-28 18:36:01 +02:00
Jörg Breitbart
4bd3e1d0c2
remove magic numbers
2023-07-25 13:19:08 +02:00
Jörg Breitbart
ad145541af
exclude bold&italic variants from merge, limit glyph calc to latin + latin supplement
2023-07-25 12:47:35 +02:00
Jörg Breitbart
37153018b9
fix BCE
2023-07-24 16:06:19 +02:00
Jörg Breitbart
aa6e8d91c2
cleanup
2023-07-22 22:50:05 +02:00
Jörg Breitbart
089dc282c3
fix hover underline
2023-07-22 22:18:12 +02:00
Jörg Breitbart
329b465a63
fix SP for underline/overline
2023-07-22 16:53:13 +02:00
Jörg Breitbart
6785dc19ab
exclude combined from merge, fix linter
2023-07-22 16:32:01 +02:00
Jörg Breitbart
c515cc2823
fix ext underline handling
2023-07-22 16:20:47 +02:00
Jörg Breitbart
848f89e8a7
fix char under cursor
2023-07-22 15:24:50 +02:00
Jörg Breitbart
514afcd445
fix bad runtime of merger
2023-07-22 13:29:26 +02:00
Jörg Breitbart
3e13abf974
fix selection handling
2023-07-22 13:01:53 +02:00
Jörg Breitbart
4cfe32f626
make linter happy
2023-07-22 11:08:51 +02:00
Jörg Breitbart
f36954764d
faster DOM updates
2023-07-22 11:00:12 +02:00
Daniel Imms
cdec1e5b03
Merge pull request #4526 from Tyriar/4499_overline
...
Add support for SGR 53 overline and SGR 55 not overline
2023-05-20 14:21:22 -07:00
Daniel Imms
2bfd95fe54
Add support for SGR 53, 55 overline
...
Specced in ECMA-48
2023-05-20 09:56:56 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Jörg Breitbart
becec91e98
better regexp, fix offset issue in #4294
2022-12-08 17:35:45 +01:00
Jörg Breitbart
3bf72cdefc
DOM renderer fix with much better performance
2022-12-05 15:50:29 +01:00
Jörg Breitbart
39c2e57ad3
hack around DOM renderer issue, fix api tests
2022-12-04 22:26:29 +01:00
Daniel Imms
6e35bcd767
Use theme service in more places
2022-10-08 13:55:23 -07:00