Look at cmd-select-pane.c, window_pane_find_up is definitely called when you do selectp -U. Are you sure you ran the right tmux binary with your logging?
But you should note that it is unlikely this behaviour will be changed again, see 540f0b3e45acae9b0c5fa12f7e9170c6c78d177f. On Wed, 9 Jun 2021 at 05:54, Tobias Damisch <[email protected]> wrote: > Hi there! > > I love using tmux! > > So: > > 1.) I'd like to subscribe to this mailing list, how do i do that? > > 2.) I'd like to start modifying tmux behaviour by modifying the source > code, > and if successful, maybe submit a patch. > I thought I had the right part of the code, but my modification doesn't > do anything (while compiling successfully). I tried outputting info > with log_debug(), and it seems this part of the code > (window_pane_find_up() in > window.c) is not executed when doing a select-pane -U. Can someone > maybe point > me to the right place to start? > > Basically, I want to make switching panes with the arrow keys > dependent on > the amount of shared border, and not primarily which pane was selected > last, > a behaviour that I find slightly annoying, because who remembers which > pane that was... > > > Cheers, > Tobias > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/trinity-9f50f1d3-dc88-4819-8381-25f48bf9c4f4-1623200384729%403c-app-gmx-bap64 > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcHY0CevwG8nvo9HZgXSJt9ut3zLyJVD1N6OoEMZ5WbSGQ%40mail.gmail.com.
