Daniel Imms
Daniel Imms
This is a lot more complicated that you might expect since we can't access native a11y apis. The way the announcing works in the web is by synchronizing the textarea...
@pattch I think you can handle that today by recording the latest keystroke via `attachCustomKeyEventHandler` and then handling it when the existing `onCursorMove` event fires, checking the buffer as needed?...
Sounds good! onResize in WebGL: https://github.com/xtermjs/xterm.js/blob/cdcbb1d6daa2b972de9ccb510e67f80ec8904319/addons/xterm-addon-webgl/src/WebglRenderer.ts#L133 onResize in DOM: https://github.com/xtermjs/xterm.js/blob/cdcbb1d6daa2b972de9ccb510e67f80ec8904319/src/browser/renderer/dom/DomRenderer.ts#L259-L262 This is how the dom selection gets cleared, we should look at related parts and clear during resize in a...
@rishab-pdx I think it's an xterm.js issue, if needed for testing you can access `term` in the devtools console in the xterm demo. If you want to test inside VS...
@tabaddor fyi there's a mostly done PR for this so I'd hold off unless @rishab-pdx says he's too busy to tackle it in the near future https://github.com/xtermjs/xterm.js/pull/2889
@tabaddor we could, but I think the ideal behavior here is to retain/amend the selection given the new dimensions, see https://github.com/xtermjs/xterm.js/pull/2889#issuecomment-621866500
Basically xterm.js doesn't do anything special with copy and paste, it leaves it up to embedders. ctrl+c and ctrl+v don't work because they're needed for terminal operation. You can hook...
@aufabdulnafea `attachCustomKeyEventHandler` is the preferred way to intercept keystrokes as on your copy/paste keystrokes you want to cancel the event from proceeding in xterm.js.
@afi-dev mouse events are supported, we just don't expose a puppeteer-like synthetic mouse event API.
@LoganDark does that even work with regular ligatures? Or are they split up when they're different colors?