[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.43 and 1.44

version 1.43, 2018/05/20 11:48:34 version 1.44, 2018/06/25 17:23:16
Line 69 
Line 69 
   
         if (self->entry == &cmd_last_pane_entry || args_has(args, 'l')) {          if (self->entry == &cmd_last_pane_entry || args_has(args, 'l')) {
                 lastwp = w->last;                  lastwp = w->last;
                   if (lastwp == NULL && window_count_panes(w) == 2) {
                           lastwp = TAILQ_PREV(w->active, window_panes, entry);
                           if (lastwp == NULL)
                                   lastwp = TAILQ_NEXT(w->active, entry);
                   }
                 if (lastwp == NULL) {                  if (lastwp == NULL) {
                         cmdq_error(item, "no last pane");                          cmdq_error(item, "no last pane");
                         return (CMD_RETURN_ERROR);                          return (CMD_RETURN_ERROR);

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44