[BACK]Return to format.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/format.c between version 1.311 and 1.312

version 1.311, 2023/02/07 10:21:01 version 1.312, 2023/03/27 08:47:57
Line 1885 
Line 1885 
         return (NULL);          return (NULL);
 }  }
   
   /* Callback for pane_unseen_changes. */
   static void *
   format_cb_pane_unseen_changes(struct format_tree *ft)
   {
           if (ft->wp != NULL) {
                   if (ft->wp->flags & PANE_UNSEENCHANGES)
                           return (xstrdup("1"));
                   return (xstrdup("0"));
           }
           return (NULL);
   }
   
 /* Callback for pane_last. */  /* Callback for pane_last. */
 static void *  static void *
 format_cb_pane_last(struct format_tree *ft)  format_cb_pane_last(struct format_tree *ft)
Line 2952 
Line 2964 
         },          },
         { "pane_tty", FORMAT_TABLE_STRING,          { "pane_tty", FORMAT_TABLE_STRING,
           format_cb_pane_tty            format_cb_pane_tty
           },
           { "pane_unseen_changes", FORMAT_TABLE_STRING,
             format_cb_pane_unseen_changes
         },          },
         { "pane_width", FORMAT_TABLE_STRING,          { "pane_width", FORMAT_TABLE_STRING,
           format_cb_pane_width            format_cb_pane_width

Legend:
Removed from v.1.311  
changed lines
  Added in v.1.312