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

Diff for /src/usr.bin/tmux/options.c between version 1.68 and 1.69

version 1.68, 2022/03/16 17:00:17 version 1.69, 2022/06/17 07:28:05
Line 1106 
Line 1106 
         struct session          *s;          struct session          *s;
         struct window           *w;          struct window           *w;
         struct window_pane      *wp;          struct window_pane      *wp;
         int                      c;  
   
         log_debug("%s: %s", __func__, name);          log_debug("%s: %s", __func__, name);
   
Line 1119 
Line 1118 
                 }                  }
         }          }
         if (strcmp(name, "cursor-colour") == 0) {          if (strcmp(name, "cursor-colour") == 0) {
                 RB_FOREACH(wp, window_pane_tree, &all_window_panes) {                  RB_FOREACH(wp, window_pane_tree, &all_window_panes)
                         c = options_get_number(wp->options, name);                          window_pane_default_cursor(wp);
                         wp->screen->default_ccolour = c;  
                 }  
         }          }
         if (strcmp(name, "cursor-style") == 0) {          if (strcmp(name, "cursor-style") == 0) {
                 RB_FOREACH(wp, window_pane_tree, &all_window_panes) {                  RB_FOREACH(wp, window_pane_tree, &all_window_panes)
                         wp->screen->default_mode = 0;                          window_pane_default_cursor(wp);
                         screen_set_cursor_style(options_get_number(wp->options,  
                             name), &wp->screen->default_cstyle,  
                             &wp->screen->default_mode);  
                 }  
         }          }
         if (strcmp(name, "fill-character") == 0) {          if (strcmp(name, "fill-character") == 0) {
                 RB_FOREACH(w, windows, &windows)                  RB_FOREACH(w, windows, &windows)

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