-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pane Wraparound #817
Comments
Hey! I always end up on the pane I left the tab.
If I am in this state, Tab 1 selected Pane 1 selected and toggle to Tab 2, I am in this situation:
And if I now toggle back to tab 1, the pane 1 will be selected again.
If I select Pane 2 the behavior is analogous. |
Hello! Wrap BackwardsBeginning State:
where * denotes the current pane selected So pressing Expected State:
However, sometimes I land on, Unexpected State:
Wrap ForwardsThe same occurs with pressing Beginning State:
Expected State:
Unexpected State:
Does that make sense? |
When wrapping around you go to the last pane you were on on that tab, Beginning State
This is not enough information to know where you land on, Beginning State:
If you were before on Tab1 Pane 1 you would switch to Pane 1, |
Oh shoot, you're right! Hmm, I can see why that's desirable behavior. What I find confusing is that I move based on order (1st pane to 2nd pane) within the tab, but move based on recency between tabs (if on pane 2 of 2nd tab last, moving right from pane 2 tab 2 land me there instead of pane 1). I just tried using the actions It would be clearer (at least to me), if recency and order were separate, as with cycling through browser tabs.
I never used tmux though, so perhaps this is expected. |
@guy-who-googles If this is a confusing behavior I don't think it is unreasonable to want to change it.
Tmux is awesome, but we don't need to have all the behavior the same.
I can see how that could be. If anyone wants to implement that I would be open in trying it out and see if that feels better. |
In Case of Graphical or Performance Issues
Nothing interesting in the log file.
Basic information
zellij --version
: 0.19tput lines
: 50tput cols
: 103uname -av
:Linux usah 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
List of programs you interact with as,
PROGRAM --version
: output cropped meaningful, for example:gnome-terminal --version: GNOME Terminal 3.36.2 using VTE 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD
Further information
When using the default config file, I setup two tabs with horizontal splits:
Alt+N
for a new paneCtrl+t
,n
,Enter
for a new tabAlt+N
for a new paneThen, the following behavior seems non-deterministic:
Alt+L
Alt+H
to navigate between panes.Result:
Alt+H
, sometimes you land on pane 1 instead of pane 2.Alt+L
, sometimes you land on pane 2 instead of pane 1.After testing it a few times, it seems this happens once every 5 to 10 times you navigate between tabs.
The text was updated successfully, but these errors were encountered: