Daniel Imms
92535e539f
Inline ScreenDprMonitor into CoreBrowserService file
2023-10-17 08:56:02 -07:00
Daniel Imms
4cc51ca08f
Move ScreenDprMonitor into CoreBrowserService
2023-10-17 08:55:07 -07:00
Daniel Imms
63790f8854
Change ScreenDprMonitor to be event based
2023-10-17 08:49:28 -07:00
Daniel Imms
45605db3c5
Listen to window change and pass through to ScreenDprMonitor
2023-10-17 08:39:48 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -07:00
tisilent
eb4277e7bd
using ITerminal
2023-10-16 09:35:21 +08:00
Daniel Imms
4245283e05
Merge pull request #4844 from Tyriar/doc_override
...
Expose a documentOverride setting
2023-10-13 13:48:58 -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
tisilent
6b5fc260ca
Dom Renderer using SelectionRenderModel
2023-10-10 22:53:01 +08:00
tisilent
d3e075f37b
handle selection when resizing
2023-10-10 15:54:15 +08:00
Taige Wang
194b810ad5
Fix Webgl2 compatability on legacy Safari with webgl2 enabled
2023-10-08 13:03:28 +03:00
Ayman Bagabas
2a8ddcd508
Merge branch 'master' into osc52
2023-10-04 11:30:55 -07:00
Maël Nison
7cbaacde40
Fixes hex color serialization
2023-10-04 15:42:02 +02:00
Daniel Imms
34017f32fb
Merge pull request #4829 from xtermjs/dependabot/npm_and_yarn/get-func-name-2.0.2
...
Bump get-func-name from 2.0.0 to 2.0.2
2023-10-02 11:22:58 -07:00
Daniel Imms
57e2adc042
Merge branch 'master' into dependabot/npm_and_yarn/get-func-name-2.0.2
2023-10-02 11:16:37 -07:00
Daniel Imms
e9390d0d91
Merge pull request #4832 from Tyriar/node-pty-update
...
node-pty@1.1.0-beta5
2023-10-02 11:14:14 -07:00
Daniel Imms
f6c4aee928
Move benchmarks off removed node-pty apis
2023-10-02 11:05:33 -07:00
Daniel Imms
a673b110f5
node-pty@1.1.0-beta5
...
This is needed to get the build working on the newly updated GH actions runners
2023-10-02 07:27:10 -07:00
tisilent
cfde4d634f
Check option changes
2023-10-01 20:39:10 +08:00
Per Bothner
4e4110aeb4
Merge branch 'master' into setcell-refactor
2023-09-28 10:46:03 -07:00
dependabot[bot]
4149aa0945
Bump get-func-name from 2.0.0 to 2.0.2
...
Bumps [get-func-name](https://github.com/chaijs/get-func-name ) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases )
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2 )
---
updated-dependencies:
- dependency-name: get-func-name
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-27 21:02:12 +00:00
Daniel Imms
810cc1d47e
Merge pull request #4827 from Tyriar/tyriar/4821
...
Bring back search clearActiveDecoration
2023-09-27 08:04:30 -07:00
Daniel Imms
c08062420f
Bring back search clearActiveDecoration
...
This was removed accidentally in 57db72d
Fixes #4821
2023-09-27 07:56:31 -07: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
Ayman Bagabas
d245e90185
Add playwright terminal test
2023-09-21 12:09:30 -04:00
Ayman Bagabas
092aeaeb6f
Fix rename clipboard selection for clarity
2023-09-21 10:33:44 -04:00
Ayman Bagabas
b22762b472
Fix tsconfigs, IDisposable, and add comments
2023-09-21 10:26:46 -04:00
Ayman Bagabas
db5bfc7525
Add support to ANSI OSC52
...
Add support to ANSI OSC52 sequence to manipulate selection and clipboard
data. The sequence specs supports multiple clipboard selections but we
only support the common ones, system and primary clipboard selections.
This adds a new event listener to the common terminal module
`onClipboard` to allow external implementations to hook into it.
The addon uses the browser Clipboard API to read/write from and to the
clipboard. The default `ClipboardProvider` uses the browser Clipboard
API. This means it only supports read/write to and from the system
clipboard.
Reference: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands
Fixes: xtermjs#3260
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com >
2023-09-20 17:46:52 -04:00
Daniel Imms
a3e933d98b
Merge pull request #4820 from Tyriar/4814
...
Don't re-render after parse is the viewport did not change
2023-09-20 06:51:08 -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
Daniel Imms
cfc94b332a
Merge pull request #4816 from tisilent/fix-domrenderer-selection-overflow
...
Add column restriction
2023-09-20 06:06:43 -07:00
tisilent
f391cf6d43
Add column restriction
2023-09-20 18:40:03 +08:00
tisilent
da2687174f
💄
2023-09-19 22:49:53 +08:00
tisilent
a8ef1d49a1
Add block cursor style confirmation
2023-09-19 22:15:35 +08:00
tisilent
feb75a7f4d
Add getCellColorFirstPoint function
2023-09-19 21:58:08 +08:00
tisilent
27fd011e35
Add regression tests
2023-09-19 20:29:28 +08:00
Daniel Imms
03f1336042
Merge pull request #4809 from silamon/correct-typing-graphemes
...
Correct graphemes addon readme and typings
2023-09-16 07:36:31 -07:00
Simon Lamon
fbf7d7adb5
Fix typos in readme
2023-09-16 08:09:22 +00:00
Simon Lamon
da041f43ee
correct typing graphemes
2023-09-16 08:04:32 +00:00
Daniel Imms
a6f57262f6
Merge pull request #4807 from mofux/isolate-width-cache-element
...
Move WidthCache measure container to helper container
2023-09-15 07:45:15 -07:00
Daniel Imms
aa5ec44c27
Merge pull request #4808 from tisilent/#4736-add-regression-test
...
Add regression test,checking inactive selection.
2023-09-15 04:31:30 -07:00
Daniel Imms
446549a043
Tweak name, order in issue number
2023-09-15 04:23:47 -07:00
tisilent
ef21ed901f
Add regression test,checking inactive selection.
2023-09-15 18:57:17 +08:00
Thomas Zilz
aaadefa548
Move WidthCache measure container to helper container
2023-09-15 10:51:31 +02:00
Daniel Imms
0e66d608a1
Merge pull request #4803 from tisilent/clear-repeat-overviewRulerWidth
...
Clear repeat overviewRulerWidth option in demo
2023-09-14 12:52:44 -07:00
Daniel Imms
1618092b91
Merge pull request #4798 from tisilent/fix-domrenderer-isCursorInitialized
...
using isCursorInitialized for domrenderer
2023-09-14 12:41:30 -07:00
Daniel Imms
2f9439b690
Explain injectSharedRendererTestsStandalone
2023-09-14 12:35:12 -07:00