-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Issue description
this is just an idea to extend #1127 and bring the mouse support in choose-tree
kind of to the next level. but i have no strong feelings about that, so i understand if it is to hard or laborious to implement it.
as a casual user of tmux i would have guessed that with mouse support enabled - since switching windows via status line and panes is possible via a simple click - also clicking on a distinct pane preview will get me there, but this is unfortunately not the case.
my suggestions:
- pane preview: switch to the appropriate window and activate the chosen pane as soon as i click on its preview instead of doing nothing. - (simply exact the same behavior as i would hit enter.)
- window preview: it would be awesome to have the ability to directly switch to the chosen window and pane by clicking on it. IMHO there are a few possible ways to accomplish this...
- either similar as described for the pane preview by a single click on the area of the preview of the desired pane
(which would eliminate the ability to only switch the window and not change the active pane via mouse inchoose-tree
); -
or simply still use a single click to just enter the window as it was and a double click to also switch the active pane
(since double clicks are also used to switch to a desired item via the list); -
or also don't really change anything for the single click action, except if you intentionally click on the area of the index number in the middle of their preview
(although this behavior would seem a little bit odd to me).
- either similar as described for the pane preview by a single click on the area of the preview of the desired pane
- session preview: i have to admit that i haven't given this one too much thoughts... but it seems reasonable to me to do the same with windows as with panes in the window preview and simply stay with the last active pane (as there is no possibility to select a pane in the session preview).
Required information
- tmux version (
tmux -V
):tmux 3.3a
- Platform (
uname -sp
):Linux unknown
- $TERM inside and outside of tmux (
echo $TERM
):tmux-256color
&xterm-256color
- Logs from tmux (
tmux kill-server; tmux -vv new
).
Metadata
Metadata
Assignees
Labels
No labels