[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.93 and 1.94

version 1.93, 2013/07/05 14:44:06 version 1.94, 2013/07/12 09:52:36
Line 1897 
Line 1897 
         struct options                  *oo = &wp->window->options;          struct options                  *oo = &wp->window->options;
         struct screen                   *back_s = data->backing;          struct screen                   *back_s = data->backing;
         u_int                            px, py, xx, yy;          u_int                            px, py, xx, yy;
         int                              expected = 1;          int                              keys, expected = 1;
   
         px = data->cx;          px = data->cx;
         py = screen_hsize(back_s) + data->cy - data->oy;          py = screen_hsize(back_s) + data->cy - data->oy;
         xx = window_copy_find_length(wp, py);          xx = window_copy_find_length(wp, py);
         yy = screen_hsize(back_s) + screen_size_y(back_s) - 1;          yy = screen_hsize(back_s) + screen_size_y(back_s) - 1;
   
           keys = options_get_number(oo, "mode-keys");
           if (keys == MODEKEY_VI && !window_copy_in_set(wp, px, py, separators))
                   px++;
   
         /*          /*
          * First skip past any word characters, then any nonword characters.           * First skip past any word characters, then any nonword characters.
          *           *
Line 1928 
Line 1932 
                 expected = !expected;                  expected = !expected;
         } while (expected == 0);          } while (expected == 0);
   
         /* Back up to the end-of-word like vi. */          if (keys == MODEKEY_VI && px != 0)
         if (options_get_number(oo, "status-keys") == MODEKEY_VI && px != 0)  
                 px--;                  px--;
   
         window_copy_update_cursor(wp, px, data->cy);          window_copy_update_cursor(wp, px, data->cy);

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94