[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.216 and 1.217

version 1.216, 2023/08/08 07:41:04 version 1.217, 2023/08/08 08:08:47
Line 713 
Line 713 
                 name = menu->items[i].name;                  name = menu->items[i].name;
                 if (name == NULL) {                  if (name == NULL) {
                         screen_write_cursormove(ctx, cx, cy + 1 + i, 0);                          screen_write_cursormove(ctx, cx, cy + 1 + i, 0);
                         screen_write_hline(ctx, width + 4, 1, 1, lines, gc);                          screen_write_hline(ctx, width + 4, 1, 1, lines,
                               border_gc);
                         continue;                          continue;
                 }                  }
   
                 if (choice >= 0 && i == (u_int)choice && *name != '-')                  if (choice >= 0 && i == (u_int)choice && *name != '-')
                         gc = choice_gc;                          gc = choice_gc;
   
                 screen_write_cursormove(ctx, cx + 2, cy + 1 + i, 0);                  screen_write_cursormove(ctx, cx + 1, cy + 1 + i, 0);
                 for (j = 0; j < width; j++)                  for (j = 0; j < width + 2; j++)
                         screen_write_putc(ctx, gc, ' ');                          screen_write_putc(ctx, gc, ' ');
   
                 screen_write_cursormove(ctx, cx + 2, cy + 1 + i, 0);                  screen_write_cursormove(ctx, cx + 2, cy + 1 + i, 0);

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.217