Re: mouse to move the cursor?
Stephane Chazelas <[email protected]> Tue, 10 Feb 2026 21:43:41 +0000
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <dvsokqihb3bbiybp6elgoic5x4lai3krgkv4gh2rxknd6xbjo2@jpefawjmi7t3> |
2026-02-10 11:35:33 -0800, Ray Andrews: [...] > Understood. Yeah ... zsh has no way of knowing where the the mouse is > unless the terminal somehow communicated that ... and it doesn't. Or mine > doesn't, anyway. [...] xterm has had mouse tracking support for over 40 years I beleive. I'd be surprised if any modern terminal emulator didn't support it. Surely you must have used mouse positioning in your text editor or other TUI application before. See https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking for the escape sequences that control it. -- Stephane