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

Diff for /src/usr.bin/tmux/format-draw.c between version 1.17 and 1.18

version 1.17, 2020/05/16 15:24:28 version 1.18, 2020/05/16 15:34:08
Line 242 
Line 242 
   
         /* If there is no list left, pass off to the no list function. */          /* If there is no list left, pass off to the no list function. */
         if (width_list == 0) {          if (width_list == 0) {
                 screen_write_start(&ctx, NULL, left);                  screen_write_start(&ctx, left);
                 screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);                  screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);
                 screen_write_stop(&ctx);                  screen_write_stop(&ctx);
   
Line 334 
Line 334 
   
         /* If there is no list left, pass off to the no list function. */          /* If there is no list left, pass off to the no list function. */
         if (width_list == 0) {          if (width_list == 0) {
                 screen_write_start(&ctx, NULL, centre);                  screen_write_start(&ctx, centre);
                 screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);                  screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);
                 screen_write_stop(&ctx);                  screen_write_stop(&ctx);
   
Line 431 
Line 431 
   
         /* If there is no list left, pass off to the no list function. */          /* If there is no list left, pass off to the no list function. */
         if (width_list == 0) {          if (width_list == 0) {
                 screen_write_start(&ctx, NULL, right);                  screen_write_start(&ctx, right);
                 screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);                  screen_write_fast_copy(&ctx, after, 0, 0, width_after, 1);
                 screen_write_stop(&ctx);                  screen_write_stop(&ctx);
   
Line 536 
Line 536 
          */           */
         for (i = 0; i < TOTAL; i++) {          for (i = 0; i < TOTAL; i++) {
                 screen_init(&s[i], size, 1, 0);                  screen_init(&s[i], size, 1, 0);
                 screen_write_start(&ctx[i], NULL, &s[i]);                  screen_write_start(&ctx[i], &s[i]);
                 screen_write_clearendofline(&ctx[i], current_default.bg);                  screen_write_clearendofline(&ctx[i], current_default.bg);
                 width[i] = 0;                  width[i] = 0;
         }          }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18