Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
416f12fcc3
Remove ScrollSource
...
This isn't used anymore, it was used earlier to workaround recursion between
the viewport and the terminal objects
2024-07-10 07:01:44 -07:00
Daniel Imms
33a7a9b6a2
Implement rescaleOverlappingGlyphs in webgl
...
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Daniel Imms
41c62288f0
Expose a documentOverride setting
...
This lets the embedder choose which Document object to use for creating
elements, adding event listeners, etc. The reason this exists is because
when working with multiple windows it can be convenient to create all
elements under the primary window to make instanceof usage consistent.
See microsoft/vscode#195595
2023-10-13 13:41:53 -07:00
Daniel Imms
e21e52569c
Merge branch 'master' into clusters
2023-08-18 15:20:02 -07:00
Daniel Imms
0b54c9a5d6
Add trace log level, traceCall decorator and use in webgl
...
- New 'trace' log level in the API, you should expect very spammy logs when
trace is on and filter them down. As opposed to 'debug' which should be more
readable.
- traceCall decorator logs the args and return value of the decorated method.
Wecan use this on key functions in various parts of the code to assist
debugging issues that are hard to reproduce such as #4665 .
- Decorated a few webgl render methods for #4665 .
- There's an early exit in traceCall when not on the trace log level so the
runtime impact when not in trace is negligable.
Part of #4665
2023-08-18 11:04:23 -07:00
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -07:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
Per Bothner
4fbc623706
Expand doc comments for UnicodeCharProperties and UnicodeCharWidth.
2023-08-07 11:55:52 -07:00
Per Bothner
88bfc6bb2b
Tweak charProperties doc comment.
2023-08-06 08:28:08 -07:00
Daniel Imms
7baff4e249
Merge branch 'master' into clusters
2023-08-02 11:41:22 -07:00
Daniel Imms
44ced27bee
Add ignoreBracketedPasteMode option
...
Fixes #4588
2023-08-01 13:58:52 -07:00
Daniel Imms
1067ec19a8
Implement smooth scroll for pages/top/bottom, add viewport request event
2023-08-01 05:31:30 -07:00
Per Bothner
693f6b2d14
Merge branch 'master' into clusters
2023-06-27 13:31:23 -07:00
Daniel Imms
4d501b38b8
Improve safety of log service
2023-06-16 10:30:54 -07:00
Daniel Imms
f779e4ddc0
Add logger delegate option
...
This allows embedders to route the logs whereever they want, when this
is set the xterm.js prefix is excluded.
2023-06-16 08:23:22 -07:00
Daniel Imms
22140b5e94
Add more granular windowsPty option
...
See microsoft/vscode#134448
2023-05-29 09:40:00 -07:00
Per Bothner
67e968926c
Cleanup - fix various tests.
2023-05-17 18:37:27 -07:00
Per Bothner
2f7fe1189c
New unicode-graphemes addon.
...
Handle grapheme cluster lookup as well as wcwidth.
This is based on Unicode 15, and could replace the unicode11 addon.
2023-05-16 18:31:31 -07:00
Daniel Imms
046d4b8314
Improve createInstance types
2023-02-01 08:42:51 -08:00
Daniel Imms
4ee4a0f988
Merge branch 'master' into cleanup_coreservice
2022-12-11 07:36:01 -08:00
Daniel Imms
d6b8a21219
Avoid passing circular callback into CoreService ctor
2022-12-11 07:35:11 -08:00
Jason Lin
9e84895141
polish
2022-12-07 10:12:43 +11:00
Jason Lin
73d20c1d3b
Add option scrollOnKeypress
...
Note that we also change the existing behavior a bit:
CoreService.triggerDataEvent() will not scroll to the bottom unless
`wasUserInput` is also true. This actually seems to be the intended
behavior according to the doc just above
ICoreService.triggerDataEvent().
2022-12-06 14:29:18 +11:00
Daniel Imms
7eead44048
Add onMultipleOptionChange
2022-10-09 08:14:56 -07:00
Daniel Imms
49a0904857
Move onSpecificOptionChange adoption
2022-10-09 08:07:43 -07:00
Daniel Imms
a87b6c3f2e
Implement IOptionsService.onSpecificOptionChange
...
Part of #4190
2022-10-09 07:09:35 -07:00
Daniel Imms
4d97729010
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
...
This reverts commit d22f7c9edd , reversing
changes made to 1f8e6f0952 .
2022-10-06 09:48:54 -07:00
Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
3a90f7e7c0
Inline dirty row service into input handler
...
Fixes #4147
2022-10-01 07:39:02 -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
Daniel Imms
3f3fc183f4
Merge branch 'master' into 1134_3
2022-08-30 05:53:36 -07:00
Daniel Imms
0727741ca1
Remove iterators from IDecorationService
...
They're too low performance for typical use cases
Fixes #4079
2022-08-27 20:50:16 -07:00
Daniel Imms
5e3f63e876
Avoid garbage collection in webgl decoration hot code
...
Part of #4079
2022-08-27 20:06:58 -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
91d46dae50
OSC link progress
2022-08-07 05:08:13 -07:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -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
8f0f33fd6d
Merge branch 'master' into 1140
2022-07-28 06:50:46 -07:00
Daniel Imms
440ab765c4
Remove rendererType setting
2022-07-27 09:22:05 -07:00
Daniel Imms
71911b501b
Remove set/getOption deprecated APIs
2022-07-27 09:04:07 -07:00
Daniel Imms
7bd3801f58
Remove mouse zone manager
...
Part of #2703
2022-07-27 08:41:27 -07:00
Daniel Imms
66d6ed65ef
Remove all bellSound/bellStyle/etc. references
...
Fixes #3316
2022-07-27 05:58:26 -07:00
Daniel Imms
4b8e7a5768
Change default to 0
2022-07-27 05:45:56 -07:00
Daniel Imms
a55728dd28
Add duration-based smooth scroll
...
Fixes #1140
2022-07-27 05:41:00 -07:00
Daniel Imms
cbb13aa4d4
Merge pull request #3905 from silamon/extendedcolors
...
Support setting extended ansi colors (16-255)
2022-07-18 10:46:37 -07:00