Ayman Bagabas
00514d41b6
Undo format
2024-04-08 12:45:55 +03:00
Ayman Bagabas
fad97bc4d5
Clean up
2024-04-08 04:40:17 +03:00
Ayman Bagabas
805cabafe8
Merge remote-tracking branch 'upstream/master' into osc52
2024-04-07 23:22:01 +03: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
a4e6713823
Merge remote-tracking branch 'upstream/master' into pr/aymanbagabas/4220
2023-11-03 11:35:23 -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
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
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Jason Lin
1b940de0bf
Allow selection in the a11y tree and sync the selection to terminal
2023-10-11 16:23:03 +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
Ayman Bagabas
092aeaeb6f
Fix rename clipboard selection for clarity
2023-09-21 10:33:44 -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
5ccf4d3311
Merge remote-tracking branch 'upstream/master' into pr/PerBothner/4519-1
2023-08-23 05:09:42 -07:00
Daniel Imms
f5d128b0d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-08-23 05:02:07 -07:00
Daniel Imms
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -07:00
tisilent
c81dfee43c
Using ext to store variants.
2023-08-21 20:54:16 +08:00
Per Bothner
5994e25841
Merge branch 'master' into clusters
2023-08-15 09:20:47 -07:00
Daniel Imms
9f3be5e28d
Simplify terminal interfaces
...
Fixes #4663
2023-08-15 07:49:31 -07:00
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -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
jerch
366ffedf08
Merge branch 'master' into faster_dom
2023-07-31 18:01:16 +02:00
Daniel Imms
d22e3e093a
Fix compile
2023-07-29 14:42:05 -07:00
Daniel Imms
5660c404f0
Differentiate special color indexes and others
2023-07-28 16:32:05 -07:00
Daniel Imms
79c1fff853
Add IntRange type for ColorIndex
...
Fixes #4614
2023-07-28 13:51:46 -07:00
Jörg Breitbart
37153018b9
fix BCE
2023-07-24 16:06:19 +02:00
jerch
cf403bc45c
Merge branch 'master' into clusters
2023-05-21 22:25:34 +02:00
Daniel Imms
2bfd95fe54
Add support for SGR 53, 55 overline
...
Specced in ECMA-48
2023-05-20 09:56:56 -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
167765f932
Improve IAttributeData jsdoc
...
Fixes #2603
2022-12-16 10:53:21 -08:00
Jörg Breitbart
785b932d75
lazy cleanup on buffer
2022-09-28 15:57:58 +02:00
Jörg Breitbart
20c1f1a5f7
fix resize edge cases: always report cleanup state
2022-09-28 12:14:09 +02:00
Jörg Breitbart
b01a94f5bb
rename to respectProtect
2022-09-07 19:47:28 +02:00
Jörg Breitbart
2608db2728
unit tests, fix DECRQSS report
2022-09-04 11:04:07 +02:00
Jörg Breitbart
fc46d69a57
add protection flag to DECSED/DECSEL, add DECSCA
2022-09-03 23:52:30 +02:00
Jörg Breitbart
06d6e08347
sgr_pixels mouse report
2022-09-01 00:50:11 +02:00
Daniel Imms
91d46dae50
OSC link progress
2022-08-07 05:08:13 -07:00
Daniel Imms
03f15a7fb7
Store extended attributes in single number
2022-07-23 11:12:17 -07:00
Daniel Imms
9336d7f776
Merge pull request #3900 from Tyriar/3477
...
Throw when setting an invalid cursorStyle
2022-07-11 11:42:59 -07:00
Daniel Imms
71195b5370
Throw when setting an invalid cursorStyle
...
Fixes #3477
2022-07-10 11:43:45 -07:00
Daniel Imms
5d3a9e864d
Merge pull request #3726 from Eugeny/fix-macos-alt-n
...
Fix Alt-N/E/U handling in macOS, handle Alt-Shift-Letter
2022-06-26 09:04:33 -07:00
Daniel Imms
0c6877f46f
Move color to common, work with IColor
...
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -07:00
Eugene Pankov
a32e3958d8
fixed macOptionIsMeta on macOS and added Alt-Shift-Letter key handling
2022-04-03 17:39:18 +02:00
Daniel Imms
3cc9994a7d
Merge remote-tracking branch 'upstream/master' into pr/jerch/3524
2021-12-22 08:28:43 -08:00
Daniel Imms
6571298061
Mark IKeyboardEvent.keyCode as deprecated
2021-12-20 10:02:49 -08:00
Jörg Breitbart
9964210ac4
implement OSC 104|110|111|112
2021-11-10 22:15:35 +01:00
Jörg Breitbart
896f5a7e4c
extend logic to OSC 12 cursor color
2021-11-09 13:46:54 +01:00