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

Diff for /src/usr.bin/tmux/window-copy.c between version 1.248 and 1.249

version 1.248, 2020/03/11 18:46:42 version 1.249, 2020/03/12 13:19:20
Line 230 
Line 230 
         } lineflag;                     /* line selection mode */          } lineflag;                     /* line selection mode */
         int              rectflag;      /* in rectangle copy mode? */          int              rectflag;      /* in rectangle copy mode? */
         int              scroll_exit;   /* exit on scroll to end? */          int              scroll_exit;   /* exit on scroll to end? */
           int              hide_position; /* hide position marker */
   
         enum {          enum {
                 SEL_CHAR,               /* select one char at a time */                  SEL_CHAR,               /* select one char at a time */
Line 345 
Line 346 
         data->cy = data->backing->cy;          data->cy = data->backing->cy;
   
         data->scroll_exit = args_has(args, 'e');          data->scroll_exit = args_has(args, 'e');
           data->hide_position = args_has(args, 'H');
   
         data->screen.cx = data->cx;          data->screen.cx = data->cx;
         data->screen.cy = data->cy;          data->screen.cy = data->cy;
Line 2774 
Line 2776 
         style_apply(&gc, oo, "mode-style");          style_apply(&gc, oo, "mode-style");
         gc.flags |= GRID_FLAG_NOPALETTE;          gc.flags |= GRID_FLAG_NOPALETTE;
   
         if (py == 0 && s->rupper < s->rlower) {          if (py == 0 && s->rupper < s->rlower && !data->hide_position) {
                 if (data->searchmark == NULL) {                  if (data->searchmark == NULL) {
                         size = xsnprintf(hdr, sizeof hdr,                          size = xsnprintf(hdr, sizeof hdr,
                             "[%u/%u]", data->oy, screen_hsize(data->backing));                              "[%u/%u]", data->oy, screen_hsize(data->backing));

Legend:
Removed from v.1.248  
changed lines
  Added in v.1.249