Daniel Imms
c6e4788344
Use microtasks on server
...
This reduces demo input latency on my mac approx 10ms -> 4ms
2022-09-24 16:23:14 -07:00
Mihai Parparita
2935d9feb7
Add demo of opening the terminal in a popout window
...
The poput window is just a rendering surface, the termminal code still
executes in the original/parent window.
2022-09-08 15:13:17 -07:00
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07:00
Daniel Imms
c5a6b997d1
Remove lgtm comments in favor of codeql dismissable alerts
2022-08-31 07:25:03 -07:00
Daniel Imms
d673e02afe
Merge pull request #4089 from Tyriar/lgtm
...
Fix lgtm recommendations
2022-08-31 06:26:56 -07:00
Kenneth Russell
9459553665
Handle WebGL context loss/restore events in WebGL renderer.
...
If the context is restored within a brief period of time (3 seconds),
recreate members dependent on WebGL state, and fire onRequestRedraw to
the renderer's listeners.
Handle changes to the char atlas better in the demo client.
Tested in Chrome Canary on macOS by running the demo in one window,
and visiting the internal URL about:gpucrash in another window. The
terminal now recovers and redraws properly.
2022-08-30 19:42:22 -07:00
Daniel Imms
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Daniel Imms
3f3fc183f4
Merge branch 'master' into 1134_3
2022-08-30 05:53:36 -07:00
Daniel Imms
0237b2965e
Fix resize on demo
2022-08-27 19:28:20 -07:00
Daniel Imms
4d837e2802
Add an emoji to underline test
2022-08-27 06:39:07 -07:00
Daniel Imms
903830ce1f
Add CJK chars to underline test
2022-08-27 06:06:17 -07:00
Daniel Imms
2526409ca5
Merge pull request #4074 from Tyriar/4059
...
Only draw character outline if it has a descent
2022-08-26 14:38:40 -07:00
Daniel Imms
4979e9d2be
Show test characters in underline test
2022-08-26 13:26:00 -07:00
Daniel Imms
4382a551d1
Use powerline extra symbols in demo font family
2022-08-26 07:53:20 -07:00
Daniel Imms
c39d235168
Fix adjacent link edge case
2022-08-07 07:42:21 -07:00
Daniel Imms
d9b8c6a838
linkHandler option and default handler
2022-08-07 07:35:46 -07:00
Daniel Imms
ace99d125d
Progress on osc link service
2022-08-07 07:02:42 -07:00
Daniel Imms
7970b5c1e3
Fix edge cases in link creation
2022-08-07 06:05:42 -07:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
9d7cef3d63
Merge pull request #3991 from deepanshu44/ansi-colors
...
print colors
2022-08-04 06:08:40 -07:00
Daniel Imms
bc57ea3a7a
Reduce duplicate, improve layout
2022-08-04 06:06:31 -07:00
Simon Lamon
04eb6a4160
Fix wrong merge conflict resolution
2022-08-01 18:00:23 +02:00
Simon Lamon
3f1480a52a
Merge branch 'master' into fixdemo
2022-08-01 17:56:30 +02:00
deepanshu
f3cd6134f1
print colors
2022-08-01 11:29:12 +05:30
Daniel Imms
03c75360b1
Fix unchecking webgl in demo
2022-07-31 15:28:27 -07:00
Daniel Imms
8d92f91029
Always update terminal size in demo
2022-07-31 12:19:39 -07:00
Daniel Imms
208364147a
Allow texture atlas to be zoomed on hover
2022-07-31 11:35:12 -07:00
Daniel Imms
d6fe5c7384
Update size when letter spacing changes
2022-07-31 11:21:27 -07:00
Daniel Imms
75ca5006a2
Expose texture atlas change event and use in demo
2022-07-31 11:16:12 -07:00
Simon Lamon
d0571d8634
Fix formatting
2022-07-31 08:59:25 +00:00
Simon Lamon
ca10ef5cad
Fix demo
2022-07-31 08:55:44 +00:00
Daniel Imms
309487a020
Fix character offset to respect texture padding in webgl
...
Fixes #3974
2022-07-30 11:07:33 -07:00
Daniel Imms
e0d4384d3c
Merge branch 'master' into underline
2022-07-30 06:40:41 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
d2be5f992a
Merge remote-tracking branch 'upstream/master' into underline
2022-07-28 07:01:41 -07:00
Daniel Imms
cbddd2029e
Get canvas renderer addon working
2022-07-27 16:04:24 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
440ab765c4
Remove rendererType setting
2022-07-27 09:22:05 -07:00
Daniel Imms
8cfa7a0ee2
Remove deprecated add* APIs
...
Fixes #2652
2022-07-27 08:35:40 -07:00
Daniel Imms
238a2bafb1
Set allowProposedApi default to false
...
Fixes #2826
2022-07-27 08:20:54 -07:00
Daniel Imms
66d6ed65ef
Remove all bellSound/bellStyle/etc. references
...
Fixes #3316
2022-07-27 05:58:26 -07:00
Daniel Imms
34fe6e2260
Merge pull request #3922 from Tyriar/theme_picker
...
Add simple theme picker to demo
2022-07-24 17:52:28 -07:00
Daniel Imms
160e9ee35b
Merge pull request #3923 from Tyriar/atlas_bottom
...
Don't overlap the atlas ontop of options
2022-07-24 17:52:16 -07:00
Daniel Imms
90b6f058c9
Support overviewRulerWidth in demo
...
Fixes #3771
2022-07-24 07:38:48 -07:00
Daniel Imms
dbe2b98bb4
Don't overlap the atlas ontop of options
...
This would prevent mouse input in some options in narrow screens
2022-07-23 18:57:16 -07:00
Daniel Imms
4087284822
Fix ext caching issues
2022-07-23 15:19:17 -07:00
Daniel Imms
43bbea8eb5
Set webgl as default demo renderer
2022-07-23 14:43:14 -07:00
Daniel Imms
fd8fc18302
Clear stroke around text in underline
2022-07-23 14:28:15 -07:00
Daniel Imms
f34a30b24f
Add theme from xtermjs.org and make it the demo default
2022-07-23 14:08:15 -07:00
Daniel Imms
91a362be7b
Add 3 sample themes to demo
2022-07-23 13:58:31 -07:00