[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.66 and 1.67

version 1.66, 2010/12/30 23:16:18 version 1.67, 2011/03/28 19:44:31
Line 368 
Line 368 
         if (np == 0)          if (np == 0)
                 np = 1;                  np = 1;
   
         if (data->inputtype == WINDOW_COPY_JUMPFORWARD          if (data->inputtype == WINDOW_COPY_JUMPFORWARD ||
             || data->inputtype == WINDOW_COPY_JUMPBACK) {              data->inputtype == WINDOW_COPY_JUMPBACK) {
                 /* Ignore keys with modifiers. */                  /* Ignore keys with modifiers. */
                 if ((key & KEYC_MASK_MOD) == 0) {                  if ((key & KEYC_MASK_MOD) == 0) {
                         data->jumpchar = key;                          data->jumpchar = key;
Line 385 
Line 385 
                 data->inputtype = WINDOW_COPY_OFF;                  data->inputtype = WINDOW_COPY_OFF;
                 window_copy_redraw_lines(wp, screen_size_y(s) - 1, 1);                  window_copy_redraw_lines(wp, screen_size_y(s) - 1, 1);
                 return;                  return;
         } if (data->inputtype == WINDOW_COPY_NUMERICPREFIX) {          } else if (data->inputtype == WINDOW_COPY_NUMERICPREFIX) {
                 if (window_copy_key_numeric_prefix(wp, key) == 0)                  if (window_copy_key_numeric_prefix(wp, key) == 0)
                         return;                          return;
                 data->inputtype = WINDOW_COPY_OFF;                  data->inputtype = WINDOW_COPY_OFF;
Line 1617 
Line 1617 
         struct window_copy_mode_data    *data = wp->modedata;          struct window_copy_mode_data    *data = wp->modedata;
         struct screen                   *back_s = data->backing;          struct screen                   *back_s = data->backing;
         const struct grid_cell          *gc;          const struct grid_cell          *gc;
         uint                             px, py, xx;          u_int                            px, py, xx;
   
         px = data->cx + 1;          px = data->cx + 1;
         py = screen_hsize(back_s) + data->cy - data->oy;          py = screen_hsize(back_s) + data->cy - data->oy;
Line 1643 
Line 1643 
         struct window_copy_mode_data    *data = wp->modedata;          struct window_copy_mode_data    *data = wp->modedata;
         struct screen                   *back_s = data->backing;          struct screen                   *back_s = data->backing;
         const struct grid_cell          *gc;          const struct grid_cell          *gc;
         uint                             px, py;          u_int                            px, py;
   
         px = data->cx;          px = data->cx;
         py = screen_hsize(back_s) + data->cy - data->oy;          py = screen_hsize(back_s) + data->cy - data->oy;

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67