Daniel Imms
0a101a01f5
Clear whole cursor layer on Firefox
...
Fixes #4487
2023-05-02 15:44:36 -07:00
tisilent
455c744ab1
Uniform cursor unfocused rendering. #4441
2023-03-22 20:54:58 +08:00
Daniel Imms
02d3ef599a
Fix internal usages that needed Required<ITerminalOptions>
2022-12-11 11:42:14 -08:00
Daniel Imms
2c9e711cae
Move all other refs in webgl over
2022-10-15 13:55:36 -07:00
Daniel Imms
5204374494
Add no-multi-asterisks rule
2022-10-15 08:43:06 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
a37ea14d10
Use options service in renderers
2022-10-09 10:57:49 -07:00
Daniel Imms
48f15cb543
Remove remaining setColors methods
2022-10-08 14:07:28 -07:00
Daniel Imms
c4750eaf77
Create basic theme service
...
Part of #4184
2022-10-08 11:43:19 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
ac659cb412
Prevent overriding of Disposable.dispose
...
A common mistake made was overriding dispose and not calling super.dispose,
so a TS trick is now used to move it to a readonly property instead of a
member method which prevents it being overridden.
2022-10-08 08:27:10 -07:00
Daniel Imms
fc8043a25a
Ensure webgl texture atlas is released on dispose
2022-10-08 07:32:51 -07:00
Daniel Imms
0bc5ca8f80
Fix imports
2022-10-02 11:08:06 -07:00
Daniel Imms
f38a49b4d5
Move remaining webgl atlas to shared
2022-10-02 08:48:55 -07:00
Daniel Imms
26c974f9b6
Shuffle some utils
2022-10-02 08:37:13 -07:00
Daniel Imms
333b0e28ac
Add ITextureAtlas and use that instead of WebglCharAtlas
2022-10-02 07:48:43 -07:00
Daniel Imms
d669c6e9d6
Fix remaining references
2022-10-01 18:03:43 -07:00
Daniel Imms
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -07:00
Daniel Imms
6fcc496547
Move cache utils to core shared/ folder
...
Part of #4065
2022-10-01 17:36:16 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
Jason Lin
4752f99e03
Webgl cursor renderer makes sure a char is not drawn outside of the cell
2022-09-06 14:12:15 +10:00
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07:00
Daniel Imms
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
4ac8e4ca51
Remove reliance on core in some webgl parts
2022-07-29 11:09:19 -07:00
Daniel Imms
8b276c1a54
Merge remote-tracking branch 'upstream/master' into pr/SvanT/3919
2022-07-28 07:04:11 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
7a17a26e18
Remove link matchers
...
Fixes #2703
2022-07-27 06:49:35 -07:00
Svante Boberg
078b83fcaf
Use disposal registration
2022-07-27 14:24:42 +02:00
Svante Boberg
c895f67fd8
Add missing webgl cursor blink disposal
...
Same disposal code as the non-webgl cursor blink layer
2022-07-27 00:00:41 +02:00
Daniel Imms
54cbbf600d
Dispose of webgl resources properly
...
Fixes #3889
2022-07-06 07:32:42 -07:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00
Daniel Steinberg
59f940c19c
Set text baseline conditionally by browser.
2021-10-22 19:20:21 +00:00
Megan Rogge
2445f35a32
Merge branch 'master' into cursor-blink
2021-10-21 12:37:38 -05:00
Megan Rogge and Daniel Imms
d2bcbc73d3
fixes #3517
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2021-10-21 10:33:22 -07:00
Daniel Imms
0aaa20f873
Start of webgl integration
2021-08-18 07:31:35 -07:00
Daniel Imms
c1b4f4edb1
Fix webgl access of core service
2021-08-17 04:41:44 -07:00
Daniel Imms
0ceeb087e9
Use less than instead of non-integer check
...
Part of #3391
2021-07-16 13:25:56 -07:00
Daniel Imms
361998bd34
Fix cursor ghosting in canvas/webgl renderers
...
Fixes #3391
2021-07-16 10:08:36 -07:00
Daniel Imms
6b3fd2f31a
Merge branch 'master' into spacing_eslint
2021-04-02 07:45:31 -07:00
Daniel Imms
f19d7f0b70
Require spacing of objects outside of test files
2021-04-02 07:08:06 -07:00
Daniel Imms
a510ffb3c0
Use ideographic baseline for canvas
2021-04-01 17:10:14 -07:00
Daniel Imms
bdb438972f
Fix errors in Terminal and elsewhere
...
This was mostly ! to compel TS, we should actually fix this down the road
but that can come later.
2020-04-26 10:44:44 -07:00
Daniel Imms
4d01929503
Introduce ICoreTerminal
2020-04-26 10:11:24 -07:00
Daniel Imms
3a5def98e5
Correct selection types being optional
2020-04-25 06:56:00 -07:00
Daniel Imms
f2ed01993d
Track changes to hideUnderline
2020-04-18 06:18:01 -07:00
Daniel Imms
55f9203f60
Only fire IRenderService.onRender when buffer changes occurred
...
Fixes #2836
2020-04-11 09:51:28 -07:00
Daniel Imms
c63949f384
Merge branch 'master' into master
2020-04-10 09:37:51 -07:00
Daniel Imms
59d28e7b99
Use browser types instead of nodejs
2020-04-06 05:33:09 -07:00