Allow selection in the a11y tree and sync the selection to terminal

This commit is contained in:
Jason Lin
2023-10-11 16:23:03 +11:00
parent 34017f32fb
commit 1b940de0bf
5 changed files with 239 additions and 53 deletions
+10 -1
View File
@@ -140,7 +140,7 @@
cursor: crosshair;
}
.xterm .xterm-accessibility,
.xterm .xterm-accessibility:not(.debug),
.xterm .xterm-message {
position: absolute;
left: 0;
@@ -152,6 +152,15 @@
pointer-events: none;
}
.xterm .xterm-accessibility-tree:not(.debug) *::selection {
color: transparent;
}
.xterm .xterm-accessibility-tree {
user-select: text;
white-space: pre;
}
.xterm .live-region {
position: absolute;
left: -9999px;