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>
24 lines
812 B
JSON
24 lines
812 B
JSON
{
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{ "path": "./src/browser" },
|
|
{ "path": "./src/headless" },
|
|
{ "path": "./test/api" },
|
|
{ "path": "./test/benchmark" },
|
|
{ "path": "./test/playwright" },
|
|
{ "path": "./addons/xterm-addon-attach" },
|
|
{ "path": "./addons/xterm-addon-canvas" },
|
|
{ "path": "./addons/xterm-addon-clipboard" },
|
|
{ "path": "./addons/xterm-addon-fit" },
|
|
{ "path": "./addons/xterm-addon-image" },
|
|
{ "path": "./addons/xterm-addon-ligatures" },
|
|
{ "path": "./addons/xterm-addon-search" },
|
|
{ "path": "./addons/xterm-addon-serialize" },
|
|
{ "path": "./addons/xterm-addon-unicode11" },
|
|
{ "path": "./addons/xterm-addon-unicode-graphemes" },
|
|
{ "path": "./addons/xterm-addon-web-links" },
|
|
{ "path": "./addons/xterm-addon-webgl" }
|
|
]
|
|
}
|