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
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
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
d669c6e9d6
Fix remaining references
2022-10-01 18:03:43 -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
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
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
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08: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
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
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
Daniel Imms
8b5a133106
Pause cursor render layer before resuming
...
Fixes #2764
2020-04-06 05:32:11 -07:00
javacs3
44ff7b0f5f
change buffer interface from IBuffer to IBufferNamespace
2020-03-22 12:13:52 +08:00
Jörg Breitbart
db304513b1
unify naming, adjust addon version, fix interface description
2020-02-22 20:30:36 +01:00
Jörg Breitbart
8d1b4bf78f
fix webgl renderer
2020-02-22 20:18:45 +01:00
Nick Pezza
97dc61e65f
s/cursorBarWidth/cursorWidth
2019-12-07 15:40:02 -05:00
Nick Pezza
c630b92772
Allow the thickness of the bar cursor to be configured
2019-11-30 14:40:45 -05:00
Daniel Imms
3bf149bbc5
Fix webgl cursor
2019-11-07 18:46:56 -08:00
Daniel Imms
873de2b127
Move cursor render layer to browser
2019-11-07 18:39:46 -08:00
Daniel Imms
1e1038b2c7
Remove renderer circular dep on renderservice
...
Also fix super.dispose not being called correctly on RenderService
2019-11-07 18:09:40 -08:00
JeffreyCA
7c982fc0ce
Fix lint warnings
2019-10-07 22:51:03 -07:00
JeffreyCA
1eb6e37187
Refresh terminal even if blinking is enabled so cursor changes are immediately visible
2019-10-07 22:36:37 -07:00
JeffreyCA
efbdbd3f3b
Render non-block cursors as-is when terminal is unfocused
2019-10-07 22:25:47 -07:00
Daniel Imms
bc07225394
Enable strict mode in webgl addon
...
Fixes #2286
2019-07-04 09:08:56 -07:00
Daniel Imms
40bc62c383
Enable strict null checks in webgl addon
...
Part of #2286
2019-07-04 08:58:42 -07:00
Daniel Imms
10fedf4ccf
Enforce underscore prefix for protected members
2019-06-27 18:36:44 -07:00
Daniel Imms
d7daa53b50
Move webgl renderer into addon dir
2019-06-14 23:55:17 -07:00