zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.84k stars 662 forks source link

Feature request: GPM support on text consoles #2952

Open rsmirnov90 opened 1 year ago

rsmirnov90 commented 1 year ago

When trying to select text using a mouse in a graphical terminal (i.e. Kitty), it works perfectly as expected and the selection stays confined within its own pane.

However, when trying to use the old-school GPM driver (for the text console), it doesn't have that feature. It simply highlights the entire line across panes.

I am not sure if this is even possible or feasible to add (as I am not sure if GPM actually interacts with the underlying app the way the text mouse did with DOS apps, or if it is just an overlay on top of the console strictly for selecting text). Still, just figured I would put it out there as I am sure there are people who know much more about this than I do.

digitalsignalperson commented 11 months ago

I found this issue searching around for console multiplexer things with GPM support

Findings:

so at least there's a POC that it can be done