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
Daniel Imms
62cf3d39e1
Fix headless types regression
...
From the API lint PR
2023-08-14 07:15:20 -07:00
Daniel Imms
1f4fe0a8c0
Lint API .d.ts files
...
Similar to #4668 , this brings linting to the API files with a cut down
set of rules. One of the bigger ones is comment length is restricted to 80,
this was done as opposed to 100 for regular code to reduce the chance of
wrapping or API going off screen regardless of resolution or window/browser
size
2023-08-12 09:33:35 -07:00
Daniel Imms
136e2f2afe
Improve API wording
2023-08-11 13:07:04 -07:00
tisilent
5c1e6dce99
Add block to cursorInactiveStyle,
...
change line to bar
2023-08-11 11:36:40 +08:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08: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
Per Bothner
693f6b2d14
Merge branch 'master' into clusters
2023-06-27 13:31:23 -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
jerch
cf403bc45c
Merge branch 'master' into clusters
2023-05-21 22:25:34 +02:00
Daniel Imms
b662824b81
Add isOverline to public API
...
Part of #4529
2023-05-21 08:16:38 -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
6997f1a940
Correct registerMarker docs
...
Fixes #4409
2023-03-31 11:55:30 -07:00
Megan Rogge
4037b943b9
remove AccessibleBuffer ( #4427 )
...
* remove AccessibleBuffer
* rm more
* Update src/browser/Terminal.ts
* rm css
2023-03-02 14:51:32 -06:00
Megan Rogge
9154831afa
allow html elements ( #4413 )
2023-02-15 14:34:00 -06:00
Megan Rogge
d6599bc048
accessibilityBuffer -> accessibleBuffer (#4406 )
2023-02-08 21:48:20 +00:00
Megan Rogge
72a157df5e
add registerBufferElementProvider ( #4402 )
2023-02-07 09:56:23 -08:00
Daniel Imms
41dc93a008
Prototype improved a11y buffer view ( #4340 )
2023-01-18 23:00:21 +00:00
Daniel Imms
b3fb8db6b3
Replace dom helper with HTMLElement.remove()
2023-01-05 09:14:16 -08:00
RyotaK
b07c016fea
Adjust the comment
2022-12-16 16:58:55 +00:00
RyotaK
e4b473785d
Make comment more clear
2022-12-16 16:54:27 +00:00
RyotaK
8636d0f820
Add allowNonHttpProtocols to typings
2022-12-17 01:31:11 +09:00
Daniel Imms
aba59e9386
Explain object option edge case
...
Fixes #4124
2022-12-15 16:41:31 -08:00
Daniel Imms
15e3b1ac12
Improve explanation of danger with the linkHandler API
...
Fixes #4309
2022-12-14 08:10:52 -08:00
Daniel Imms
83ff4e97c3
Merge pull request #4304 from Tyriar/4259
...
Simplify options API
2022-12-11 11:52:08 -08:00
Daniel Imms
c118f04187
Sync xterm-headless.d.ts
2022-12-11 11:36:32 -08:00
Daniel Imms
2bd3869547
Use a monospace font in example
2022-12-11 11:33:23 -08:00
Daniel Imms
69379ba59b
Simplify options API
...
Fixes #4259
2022-12-11 11:33:03 -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
6b09c1b576
Add custom keymap example to attachCustomKeyEventHandler docs
...
Fixes #4278
2022-11-30 07:06:28 -08:00
Daniel Imms
9f1a71485c
Fix invalid jsdoc tags
2022-10-15 08:41:49 -07:00
TatLead
11c806a4d0
Update xterm.d.ts
2022-09-19 05:54:11 +08:00
TatLead
9fb84cb89d
Update xterm-headless.d.ts
2022-09-19 05:53:50 +08:00
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07:00
Daniel Imms
22cca3495a
Expose range on link handler
...
This is needed for proper tooltip positioning
Part of #1134
2022-08-30 07:00:33 -07:00
Daniel Imms
d9b8c6a838
linkHandler option and default handler
2022-08-07 07:35:46 -07:00
Simon Lamon
6e123e90ee
Add example back
2022-08-05 16:56:54 +00:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
436f8556fd
Merge pull request #3972 from silamon/rowscolsheadless
...
Apply row/col changes from xterm to xterm-headless
2022-07-31 12:43:47 -07:00
Simon Lamon
027fffbadc
Fix comment
2022-07-30 15:48:49 +00:00
Simon Lamon
dc30a51017
Apply row/col changes from xterm to xtmer-headless
2022-07-30 15:46:07 +00:00
Daniel Imms
8afa714276
Include version of Windows to disable windowsMode from
...
Fixes #3962
2022-07-30 06:27:02 -07: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
7f5ed40db1
Merge pull request #3960 from Tyriar/init_options
...
Make cols/rows only usable in the ctor
2022-07-29 07:20:51 -07:00