Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mouse to move the cursor?





On 2026-02-10 12:08, Roman Perepelitsa wrote:
Most modern terminals can report mouse click positions if you ask them to. You can try running one of the mouse-aware programs and see if they react to mouse clicks. One of these programs is fzf. zsh comes with zsh/curses module that supports mouse, too. You could use it to enable mouse events -- with a dash of black magic to handle mouse clicks in zle, you could achieve your goal (not sure if this is possible but it sounds plausible). If you do that, you would have to use shift-click instead of plain click to select text. This can be annoying if you select text in the terminal often.

Roman 
Interesting!  I have several of my own utilities that use curses.  Nothing in xfce-terminal seems to indicate moving the cursor but I'll look into it.  I'll tinker, thanks for the ideas.



Messages sorted by: Reverse Date, Date, Thread, Author