[BACK]Return to cmd-select-pane.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-select-pane.c between version 1.68 and 1.69

version 1.68, 2021/08/21 10:22:39 version 1.69, 2023/07/10 09:24:53
Line 98 
Line 98 
         struct options_entry    *o;          struct options_entry    *o;
   
         if (entry == &cmd_last_pane_entry || args_has(args, 'l')) {          if (entry == &cmd_last_pane_entry || args_has(args, 'l')) {
                 lastwp = w->last;                  /*
                    * Check for no last pane found in case the other pane was
                    * spawned without being visited (for example split-window -d).
                    */
                   lastwp = TAILQ_FIRST(&w->last_panes);
                 if (lastwp == NULL && window_count_panes(w) == 2) {                  if (lastwp == NULL && window_count_panes(w) == 2) {
                         lastwp = TAILQ_PREV(w->active, window_panes, entry);                          lastwp = TAILQ_PREV(w->active, window_panes, entry);
                         if (lastwp == NULL)                          if (lastwp == NULL)

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69