Commit Graph
47 Commits
Author SHA1 Message Date
Daniel Imms 8458bb4c4f Expose onWriteParsed on API
Inconsistency with headless API
2024-04-18 16:27:48 -07:00
Daniel Imms 6b3d485d77 Note new excluded glyphs in API 2024-03-15 08:30:55 -07:00
Daniel Imms 44feecfc9a Merge pull request #4997 from Tyriar/4969
Introduce opt-in glyph scaling to achieve GB18030 compliance
2024-03-14 09:50:13 -07:00
Daniel Imms 33a7a9b6a2 Implement rescaleOverlappingGlyphs in webgl
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms c32313a471 Add default to api d.ts
Fixes #4992
2024-03-07 05:21:59 -08:00
Daniel Imms 8d1771ef64 Tweak docs 2024-02-02 12:03:08 -08:00
arencoskun cddc888065 Add definition to xterm-headless.d.ts 2024-02-01 16:49:15 +03:00
Daniel Imms 905285efda Temporarily enable publishing in PRs 2023-11-01 06:48:33 -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
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
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 c118f04187 Sync xterm-headless.d.ts 2022-12-11 11:36:32 -08:00
Daniel Imms 9f1a71485c Fix invalid jsdoc tags 2022-10-15 08:41:49 -07:00
TatLead 9fb84cb89d Update xterm-headless.d.ts 2022-09-19 05:53:50 +08: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
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 8df878b8a9 Clarify you shouldn't use the object after Terminal.dispose
Fixes #3939
2022-07-28 10:46:12 -07:00
Daniel Imms 8f0f33fd6d Merge branch 'master' into 1140 2022-07-28 06:50:46 -07:00
Daniel Imms d1f53e2b02 Replace ISelectionPosition with IBufferRange
Fixes #2480
2022-07-28 05:58:15 -07:00
Daniel Imms 8c16d9d506 Remove writeUtf8 deprecated API 2022-07-27 09:04:43 -07:00
Daniel Imms 71911b501b Remove set/getOption deprecated APIs 2022-07-27 09:04:07 -07:00
Daniel Imms 5a658ebfcc Remove remaining link hover tooltip duration 2022-07-27 08:45:32 -07:00
Daniel Imms 8cfa7a0ee2 Remove deprecated add* APIs
Fixes #2652
2022-07-27 08:35:40 -07:00
Daniel Imms 66d6ed65ef Remove all bellSound/bellStyle/etc. references
Fixes #3316
2022-07-27 05:58:26 -07:00
Daniel Imms 78bfe0b89d Revert accidental setting change 2022-07-27 05:47:39 -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
Simon Lamon a54426ccb8 extended colors 2022-06-04 12:39:43 +00:00
儿时 9b02e950f8 Make registerMarker's cursor offset optional 2022-02-27 13:25:07 +08:00
Simon Lamon 8bdeb14bc6 add options to headless typings 2022-01-08 10:14:33 +00:00
Simon Lamon 2e4e29ad73 Support strikethrough in serialize addon 2021-09-22 08:47:36 +00:00
Daniel Imms 3be97841a3 Rename setting customGlyphs 2021-08-19 05:20:40 -07:00
Daniel Imms 9fb1ce11fb Add setting, clean up drawing, fix true color 2021-08-18 06:44:13 -07:00
Daniel Imms 8c25d57c26 xterm-headless modes api, tests for headless 2021-08-16 15:01:30 -07:00
Daniel Imms f8066d6dee Full tests for xterm-headless 2021-08-12 06:00:55 -07:00
Daniel Imms df48e9f6d5 Headless event tests 2021-08-12 05:52:40 -07:00
Daniel Imms f769d03e0c xterm-core -> xterm-headless 2021-08-10 12:27:43 -07:00