Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
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
4789c24e1e
Get esbuild working and adopt vs scrollbar
2024-07-09 11:19:15 -07:00
Daniel Imms
c30bffc60c
Set up vs project
2024-07-09 10:52:09 -07:00
Daniel Imms
7b2e8a6ce1
Remove src dts files and correct exports
...
Esbuild doesn't appear to play nice with dts files and when they are regular ts
files they require the exports
2024-07-05 06:51:00 -07:00
Daniel Imms
dd106ae9b8
Speed up clearing all markers, mass event listener dispose
...
Part of microsoft/vscode#213174
2024-06-03 11:43:31 -07:00
Daniel Imms
d77b41ed25
Add tests to cover OSC 8 hyperlinks
2024-04-21 08:38:12 -07:00
Daniel Imms
0e77f839ff
Use indexOf(';') approach
2024-04-21 08:30:45 -07:00
Daniel Imms
487278ac79
Merge branch 'master' into master
2024-04-21 08:26:25 -07:00
Daniel Imms
6b4bf428de
Fix tests
2024-04-20 11:15:14 -07:00
Daniel Imms
73fe7015b7
Use sort on object
2024-04-20 11:00:41 -07:00
Daniel Imms
ef1152a8fb
Doc
2024-04-20 10:59:17 -07:00
Daniel Imms
71dddbc8b9
Move from set to array
2024-04-20 10:57:39 -07:00
Daniel Imms
45fd3c900f
Only flush when needed
2024-04-20 10:52:43 -07:00
Daniel Imms
69c4966804
Consistent naming
2024-04-20 10:48:55 -07:00
Daniel Imms
3af11c2b1f
Optimize SortedList.insert by batching to idle task
2024-04-20 10:47:40 -07:00
Daniel Imms
dc541d5495
Optimize SortedList.delete by batching to idle task
2024-04-20 10:32:30 -07:00
Daniel Imms
e845abc784
Finish OSC hyperlinks when the second param is only whitespace
...
Fixes #4916
2024-04-12 16:47:59 -07:00
Daniel Imms
37efeeb044
Make process node check stricter
...
Fixes #4995
2024-03-16 09:08:54 -07:00
Daniel Imms
47409f39f6
Set up shared context on browser even if process exists
...
Fixes #4995
2024-03-16 09:05:45 -07:00
Josiah Hudson
b40e58bc77
Fix https://github.com/xtermjs/xterm.js/issues/4944 by only splitting on the first ";" in InputHandler.setHyperlink().
2024-03-15 17:40:21 -04:00
Daniel Imms
33a7a9b6a2
Implement rescaleOverlappingGlyphs in webgl
...
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms
8d1771ef64
Tweak docs
2024-02-02 12:03:08 -08:00
arencoskun
cae42772e8
Move function to CoreTerminal, add additional argument to specify if the input was user input or not.
2024-02-01 14:11:29 +03:00
Daniel Imms
2e03680128
Add channels.toColor tests
2023-12-28 09:32:57 -08:00
Daniel Imms
94a9ce8566
Move toColor into channels
...
It operates on rgba channels, not a packed 32 bit int
2023-12-28 09:29:30 -08:00
Daniel Imms
8733d2cfa2
Separate link provider service from linkifier
2023-12-23 08:21:35 -08:00
Daniel Imms
341d9f0597
Merge pull request #4920 from Tyriar/tyriar/bg_blend
...
Add bg+powerline background blend behavior
2023-12-19 08:57:03 -08:00
Daniel Imms
22f1ce4a11
Add bg+powerline background blend behavior
...
When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.
This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o
Fixes #4918
2023-12-19 08:16:48 -08:00
Daniel Imms
1943636f02
Help embedders avoid memory leaks by clearing options
...
Related microsoft/vscode#192838
2023-12-08 12:14:22 -08:00
Daniel Imms
b16724f06a
Improve docs of BufferLine.translateToString
2023-11-03 08:53:53 -07:00
Daniel Imms
5630239a6d
Merge remote-tracking branch 'upstream/master' into pr/JasonXJ/4742
2023-11-03 08:47:05 -07:00
Daniel Imms
b0407e20cf
Merge branch 'master' into setcell-refactor
2023-11-02 11:17:18 -07:00
Daniel Imms
2f074b87f3
Explain VARIANT_OFFSET
2023-11-02 10:45:46 -07:00
Daniel Imms
6214f4c2e6
Varinat -> Variant
2023-11-02 10:43:56 -07:00
Daniel Imms
390e4f30c8
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-11-02 10:39:15 -07:00
Daniel Imms
1770bb1b65
Merge pull request #4839 from JasonXJ/ctrl-backspace
...
Send correct code for ctrl+[alt+]+backspace
2023-11-02 09:28:06 -07:00
Daniel Imms
0fd04aa76d
Replace all instances of xterm-addon
2023-11-01 10:35:10 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
David Fiala
0d0166b4bc
provide a declaration for 'process' needed for nodejs detect
...
We provide no further type information as it will not be used except for a presence check for nodejs detection.
2023-10-19 11:19:27 -07:00
David Fiala
6c5fb36c36
proper isNode detection for node v21.0.0
2023-10-19 09:52:29 -07:00
Daniel Imms
6e12d94f11
Move window resize listeners over to onWindowChange
2023-10-17 09:10:04 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -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
Jason Lin
c3aa63cffa
translateToString() adds one more entry to outColumns
...
Previously, for string 'ab好', outColumns=[0, 1, 2]. Now it becomes [0,
1, 2, 4]. This allows the user to know where does the last character
ends.
2023-10-11 16:23:03 +11:00
Jason Lin
1b940de0bf
Allow selection in the a11y tree and sync the selection to terminal
2023-10-11 16:23:03 +11:00
Jason Lin
023c778c4d
Send correct code for ctrl+[alt+]+backspace
...
We should send ^H (instead of ^?) for ctrl+backspace. This is what xterm
and gnome-terminal do.
2023-10-11 14:59:35 +11:00
Per Bothner
bde7bdc11d
Change setCellFromCodePoint API and rename to setCellFromCodepoint
...
Replace fg, bg, and eAttrs parameters by single IAttributeData parameter.
In addition to making for a simpler/cleaner API, it also increases flexibility
for future CellData or BufferLine changes.
(Rename function to reduce risk of using accidentally using old function.)
Also removed redundant eraseAttr parameter in deleteCells, insertCells, and replaceCells.
2023-09-25 18:21:02 -07:00
Daniel Imms
543b82567f
Don't re-render after parse is the viewport did not change
...
Fixes #4814
2023-09-20 06:43:21 -07:00