Daniel Imms
a8405b86de
Fix \u259B rendering
...
Fixes #3902
2022-07-13 02:59:56 -07:00
Daniel Imms
6b447951f1
Merge pull request #3897 from Tyriar/3892
...
Clear glyph pixels when all channels differ below a threshold
2022-07-11 12:06:33 -07:00
Daniel Imms
89b320a5e2
Clear glyph pixels when all channels differ < 35
...
Fixes #3892
Also helps with #3877
2022-07-10 07:22:33 -07:00
Daniel Imms
4cbfd86db0
Make corder box chars more round
...
Fixes #3894
2022-07-10 05:44:44 -07:00
Daniel Imms
8959d6ae1d
Fix indentation
2022-07-06 18:52:24 -07:00
Megan Rogge
17b1eed0d2
Update src/browser/renderer/CustomGlyphs.ts
2022-07-06 21:50:09 -04:00
Megan Rogge
72eb7e245d
Update src/browser/renderer/CustomGlyphs.ts
2022-07-06 21:49:38 -04:00
Daniel Imms
83551eaf60
Remove horizontal padding for semi-circles
2022-07-06 18:39:31 -07:00
SteVen Batten
56a1a7613c
add powerline semi circle glyphs
2022-07-06 17:13:47 -07:00
Daniel Imms
efb939d171
Fix column selection issues
...
The following parts were not respecting the column selection edge case where the
start column was greater than the end column while the start row was less than the
end row:
- Webgl renderer
- DOM renderer
- Selection service (ie. getSelection(), I don't think this was a
regression)
Fixes #3855
2022-06-14 06:51:54 -07:00
Daniel Imms
d28819de41
Add horizontal padding to powerline outline chars
2022-06-14 06:12:05 -07:00
Daniel Imms
f8e9f1813a
Custom common powerline glyph rendering
...
Fixes #3827
2022-06-11 16:15:04 -07:00
Megan Rogge and Daniel Imms
bc9c9dd6fd
fix #3846 ( #3849 )
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-06-02 18:02:36 +00:00
Megan Rogge
6b16732192
exclude box and block glyphs from contrast ratio demands ( #3844 )
2022-06-01 17:05:27 -07:00
Daniel Imms
98c40e3f8e
Add opaque selection dom renderer tests
2022-05-27 10:46:23 -07:00
Daniel Imms
6ced3014cf
Support opaque selections in DOM renderer
...
Brings the DOM renderer closer to the webgl renderer which draws the text
on top of the selection. This is done by leveraging the override system
similar to in webgl and as well as forcing the element above the selection.
This also improves contrast color caching for the DOM renderer.
This should result in a slight performance hit but only when a selection
is being made. The improved contrast seems worth it.
Fixes #3838
2022-05-27 10:38:32 -07:00
Daniel Imms
d1a87facfd
Fix selectionForeground column select mode on dom/canvas
2022-05-17 12:10:52 -07:00
Daniel Imms
d6ad4a4fc3
Remove unneeded dep
2022-05-17 11:41:13 -07:00
Daniel Imms
ec26820ea6
Fix circular dependency mouseservice <-> renderservice
2022-05-17 11:23:33 -07:00
Daniel Imms
d7fdf17eab
Ensure color mode is set for selection foreground overrides
2022-05-17 11:20:20 -07:00
Daniel Imms
f2b90d690f
Selection foreground for canvas (circular dep issue)
2022-05-16 15:17:03 -07:00
Daniel Imms
eb96187801
Support selectionForeground in dom
...
Part of #3810
2022-05-16 10:08:51 -07:00
Daniel Imms and Megan Rogge
a458bae36d
Update src/browser/renderer/dom/DomRendererRowFactory.ts
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-13 08:46:40 -07:00
Daniel Imms
1a50cfabe0
Dom renderer: top decorations above selection
...
Fixes #3799
2022-05-13 07:56:45 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00
Daniel Imms
324ea2ecb7
Clean up/resolve todos
2022-05-11 09:54:40 -07:00
Daniel Imms
c0b4edaf31
Reduce duplicate with getDecorationsAtCell method
2022-05-11 08:37:42 -07:00
Daniel Imms
e9643f5936
Ensure texture atlas isn't for overrides used in canvas renderer
2022-05-10 09:24:09 -07:00
Daniel Imms
b85f5aacd6
Use correct row for override in canvas renderer
2022-05-10 06:14:53 -07:00
Daniel Imms
7c87f5b47a
Start to use new API in search addon
2022-05-10 05:31:49 -07:00
Daniel Imms
d29388394c
Get Webgl rendering fg/bg overrides
2022-05-10 04:53:31 -07:00
Daniel Imms
714d4b1cd6
Fix fg color when there is a decoration override in canvas renderer
2022-05-10 04:06:06 -07:00
Daniel Imms
9f1db12b1b
bg/fg decorations mostly working in canvas renderer
2022-05-09 16:19:58 -07:00
Daniel Imms
13abd2aa96
Support min contrast ratio in decoration fg/bg
2022-05-09 15:39:02 -07:00
Daniel Imms
0c6877f46f
Move color to common, work with IColor
...
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -07:00
Daniel Imms
63eb9a4555
Initial bg/fg renderer decoration proof of concept
...
Part of #3770
2022-05-09 12:44:51 -07:00
Megan Rogge
1687d06f1c
use correct powerline glyph range ( #3756 )
2022-05-02 20:50:11 +00:00
Megan Rogge
da33543ffb
align isPowerlineGlyph across renderers ( #3743 )
2022-04-20 14:25:46 -07:00
Megan Rogge
38f0dd9be2
apply to dom and webgl too ( #3742 )
2022-04-19 18:46:39 -07:00
Megan Rogge
6d801311cd
exclude powerline char range from contrast demands ( #3740 )
2022-04-19 15:23:26 -07:00
Tobias Speicher
28dcd38a53
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 20:41:06 +01:00
coderaiser
2263a1579e
chore: lint using 🐊 Putout
2022-03-08 20:13:40 +02:00
meganrogge
275ae6b2d3
DecorationsService -> DecorationService
2022-02-08 14:20:18 -06:00
meganrogge
19b9d0eadd
cleanup
2022-02-08 12:05:38 -06:00
meganrogge
cae9f44f5c
remove mention of buffer
2022-02-08 11:45:22 -06:00
Megan Rogge
3745496d73
Merge branch 'xtermjs:master' into master
2022-02-04 15:58:01 -06:00
meganrogge
49085bbd5b
use decorations service instead of decorations render layer
2022-02-02 20:51:28 -06:00
meganrogge
5ccb41b9b9
re add height and width
2022-02-01 10:32:09 -06:00
meganrogge
7d7726817a
improve docs
2022-01-31 14:24:24 -06:00
meganrogge
c5a0711f84
clean up
2022-01-31 12:53:07 -06:00