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

Diff for /src/usr.bin/tmux/status.c between version 1.105 and 1.106

version 1.105, 2013/07/05 14:38:22 version 1.106, 2013/07/05 14:41:36
Line 938 
Line 938 
         off = 0;          off = 0;
   
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_default_cell, sizeof gc);
   
         /* Change colours for command mode. */          /* Change colours for command mode. */
         if (c->prompt_mdata.mode == 1) {          if (c->prompt_mdata.mode == 1) {
                 colour_set_fg(&gc, options_get_number(&s->options, "message-command-fg"));                  colour_set_fg(&gc, options_get_number(&s->options, "message-command-fg"));
Line 1192 
Line 1193 
                         if (strchr(wsep, c->prompt_buffer[c->prompt_index]))                          if (strchr(wsep, c->prompt_buffer[c->prompt_index]))
                                 break;                                  break;
                 }                  }
   
                   /* Back up to the end-of-word like vi. */
                   if (options_get_number(oo, "status-keys") == MODEKEY_VI &&
                       c->prompt_index != 0)
                           c->prompt_index--;
   
                 c->flags |= CLIENT_STATUS;                  c->flags |= CLIENT_STATUS;
                 break;                  break;

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106