[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.91 and 1.92

version 1.91, 2013/03/25 11:43:33 version 1.92, 2013/07/05 14:41:36
Line 1894 
Line 1894 
 window_copy_cursor_next_word_end(struct window_pane *wp, const char *separators)  window_copy_cursor_next_word_end(struct window_pane *wp, const char *separators)
 {  {
         struct window_copy_mode_data    *data = wp->modedata;          struct window_copy_mode_data    *data = wp->modedata;
           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                              expected = 1;
Line 1926 
Line 1927 
                 }                  }
                 expected = !expected;                  expected = !expected;
         } while (expected == 0);          } while (expected == 0);
   
           /* Back up to the end-of-word like vi. */
           if (options_get_number(oo, "status-keys") == MODEKEY_VI && px != 0)
                   px--;
   
         window_copy_update_cursor(wp, px, data->cy);          window_copy_update_cursor(wp, px, data->cy);
         if (window_copy_update_selection(wp))          if (window_copy_update_selection(wp))

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92