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

Diff for /src/usr.bin/tmux/screen-write.c between version 1.204 and 1.205

version 1.204, 2021/10/25 09:38:36 version 1.205, 2021/10/26 12:22:23
Line 665 
Line 665 
                         if (*name == '-') {                          if (*name == '-') {
                                 name++;                                  name++;
                                 default_gc.attr |= GRID_ATTR_DIM;                                  default_gc.attr |= GRID_ATTR_DIM;
                                 format_draw(ctx, gc, menu->width, name, NULL);                                  format_draw(ctx, gc, menu->width, name, NULL,
                                       0);
                                 default_gc.attr &= ~GRID_ATTR_DIM;                                  default_gc.attr &= ~GRID_ATTR_DIM;
                         } else                          } else
                                 format_draw(ctx, gc, menu->width, name, NULL);                                  format_draw(ctx, gc, menu->width, name, NULL,
                                       gc == choice_gc);
                         gc = &default_gc;                          gc = &default_gc;
                 }                  }
         }          }
Line 764 
Line 766 
         if (title != NULL) {          if (title != NULL) {
                 gc.attr &= ~GRID_ATTR_CHARSET;                  gc.attr &= ~GRID_ATTR_CHARSET;
                 screen_write_cursormove(ctx, cx + 2, cy, 0);                  screen_write_cursormove(ctx, cx + 2, cy, 0);
                 format_draw(ctx, &gc, nx - 4, title, NULL);                  format_draw(ctx, &gc, nx - 4, title, NULL, 0);
         }          }
   
         screen_write_set_cursor(ctx, cx, cy);          screen_write_set_cursor(ctx, cx, cy);

Legend:
Removed from v.1.204  
changed lines
  Added in v.1.205