Jörg Breitbart
f36954764d
faster DOM updates
2023-07-22 11:00:12 +02:00
David Lechner
96634298e4
use border-bottom instead of box-shadow for underline cursor
...
In rare cases, box-shadow can cause aliasing artifacts on the top and
sides of the cursor box when only the bottom should be filled in to
create an underline.
This replaces the box-shadow style with border-bottom which should be
pixel perfect in all cases.
Fixes: https://github.com/xtermjs/xterm.js/issues/4580
2023-07-05 16:48:42 +00:00
Jörg Breitbart
90ccc815cb
more verbose comments to get the idea of the code
2023-06-05 12:23:56 +02:00
Jörg Breitbart
8de7bd5850
rename lneX to maxY
2023-06-04 21:11:55 +02:00
Jörg Breitbart
9fed8e2a3a
defensive underline event coords handling in DOM renderer
2023-06-04 21:06:26 +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
eb56356133
Don't dodge overline, simplify drawing
2023-05-20 10:04:14 -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
e9b0593298
Merge pull request #4525 from Tyriar/4161_dim
...
Don't apply dim to background color
2023-05-20 09:43:16 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Daniel Imms
7194223696
Merge pull request #4508 from Tyriar/4507_zalgo
...
Disallow glyphs to exceed atlas texture size
2023-05-09 07:44:34 -07:00
Daniel Imms
8c9e44c219
Disallow glyphs to exceed atlas texture size
...
Fixes #4507
2023-05-09 07:35:41 -07:00
Daniel Imms
854e2736f6
Move inject into _handleOptionsChanged
2023-05-07 06:27:56 -07:00
Kelvin
2a9ec8fd1d
Re-render browser DOM style onOptionsChanged, fixes xtermjs#4474
...
Fixes https://github.com/xtermjs/xterm.js/issues/4474
2023-04-11 13:43:32 -04:00
Starwort
f0edc1b613
Fix #4450
2023-03-27 09:56:17 +01:00
tisilent
e1d852c86a
Adjust DomRenderer cursor style
2023-03-22 21:09:28 +08:00
tisilent
455c744ab1
Uniform cursor unfocused rendering. #4441
2023-03-22 20:54:58 +08:00
Daniel Imms
ba9f2e0f11
Merge pull request #4364 from Tyriar/dom_remove
...
Replace dom helper with HTMLElement.remove()
2023-01-05 09:22:55 -08:00
Daniel Imms
b3fb8db6b3
Replace dom helper with HTMLElement.remove()
2023-01-05 09:14:16 -08:00
Daniel Imms
56734874ac
Include right part of wide char in underline gap
...
Fixes #4096
2022-12-24 07:30:26 -08:00
Daniel Imms
d17df65fad
Improve rendering of dotted underlines
...
Fixes #4060
2022-12-23 14:04:12 -08:00
Jörg Breitbart
d65898ffed
Merge branch 'master' into fix_weblinks
2022-12-19 14:19:43 +01:00
Daniel Imms
c9c07aeabd
Support slash and triangle custom glyphs
...
This also fixes an issue with padding making glyphs regress
Fixes #4258
2022-12-14 13:15:05 -08:00
Daniel Imms
02d3ef599a
Fix internal usages that needed Required<ITerminalOptions>
2022-12-11 11:42:14 -08: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
1880399849
dirtyId -> version
2022-11-23 08:51:06 -08:00
Jean Pierre
d4ee0309d9
Fixes https://github.com/microsoft/vscode/issues/166158
2022-11-22 00:07:23 -05:00
Daniel Imms
97a0df260b
Remove unused event
2022-11-03 05:44:50 -07:00
Daniel Imms
d82da195f3
Remove atlas pages from demo when they're merged
2022-11-02 06:02:53 -07:00
Daniel Imms
c22e684904
Fix exception when last 4 smallest pages are merged
2022-11-02 05:40:13 -07:00
Daniel Imms
6406fd79c1
Enforce a maximum page merge amount
2022-11-02 05:28:47 -07:00
Daniel Imms
0271fdf49d
Merge 4 largest pages
2022-11-02 04:49:02 -07:00
Daniel Imms
805b41b80f
Keep merging default texture size pages
2022-11-01 10:26:48 -07:00
Daniel Imms
c9bacc80d7
Merge when max atlas pages is reached
2022-11-01 10:08:00 -07:00
Daniel Imms
54ee698ba6
Basic merging working
...
Part of #4243
2022-11-01 09:07:38 -07:00
Daniel Imms
4d05905736
Polish
2022-10-30 18:11:24 -07:00
Daniel Imms
e092ca70e1
Simplify page reuse/creation
2022-10-30 10:33:38 -07:00
Daniel Imms
0592837620
Fill pages to capacity
2022-10-30 10:21:17 -07:00
Daniel Imms
fc03a1698b
Share page creation code
2022-10-30 10:16:48 -07:00
Daniel Imms
c9ef4a8eb9
Increase texture size as it nears the maximum texture unit
...
#4243 would be a better, but more complicated, solution to this
2022-10-30 09:20:17 -07:00
Daniel Imms
846573bb01
Support up to maximum texture units (eg. 16 on my machine)
2022-10-30 03:16:29 -07:00
Daniel Imms
3f2ed42e73
Fix glyphs getting clipped on bottom row
2022-10-29 20:57:42 -07:00
Daniel Imms
2a3c2d9520
Make better use of atlas space
2022-10-29 20:33:27 -07:00
Daniel Imms
5e95475d6b
Use current row when filling in old atlas pages
2022-10-29 19:50:44 -07:00
Daniel Imms
57a65e0858
Continute filling atlas page after new pages are added
2022-10-29 19:44:12 -07:00
Daniel Imms
bfa9dd5060
Clean up
2022-10-29 18:09:18 -07:00
Daniel Imms
c257a7247e
Only upload textures that change
2022-10-29 13:27:33 -07:00
Daniel Imms
0a49a5dde1
Make texture atlas presentation nicer for multiple pages
2022-10-29 13:01:41 -07:00