mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

[feature request] mouse moving in alternate buffer #308

Closed eugenov closed 2 years ago

eugenov commented 2 years ago

Hello! Right now mintty can place cursor with left-mouse in any place of command line. Is there any chance to see such placing, but inside alternate buffer (i.e. vim). With modifier key, for example. As I know this is rare feature, but not undoable. Thank you!

mintty commented 2 years ago

With the "Clicks place command line cursor" setting, mintty simulates cursor movement by sending fake cursor left/right events. This is a very specific workaround for command-line interaction. For full screen applications like editors, it is hardly possible to predict how they would react to cursor movement, also considering that they often have different modes of operation, so a reliable generic workaround is not possible. Full screen programs typically handle the mouse themselves to get this work as suitable for them. Some old-fashioned applications do not support the mouse, or not by default, that's their problem.

eugenov commented 2 years ago

Ok, thanks for clarification.