[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.82 and 1.83

version 1.82, 2011/12/01 20:42:31 version 1.83, 2012/01/20 19:10:29
Line 978 
Line 978 
         struct paste_buffer     *pb;          struct paste_buffer     *pb;
         char                    *s, *first, *last, word[64], swapc;          char                    *s, *first, *last, word[64], swapc;
         const char              *histstr;          const char              *histstr;
         const char              *wsep;          const char              *wsep = NULL;
         u_char                   ch;          u_char                   ch;
         size_t                   size, n, off, idx;          size_t                   size, n, off, idx;
   
Line 1124 
Line 1124 
                 c->prompt_index = idx;                  c->prompt_index = idx;
                 c->flags |= CLIENT_STATUS;                  c->flags |= CLIENT_STATUS;
                 break;                  break;
           case MODEKEYEDIT_NEXTSPACE:
                   wsep = " ";
                   /* FALLTHROUGH */
         case MODEKEYEDIT_NEXTWORD:          case MODEKEYEDIT_NEXTWORD:
                 wsep = options_get_string(oo, "word-separators");                  if (wsep == NULL)
                           wsep = options_get_string(oo, "word-separators");
   
                 /* Find a separator. */                  /* Find a separator. */
                 while (c->prompt_index != size) {                  while (c->prompt_index != size) {
Line 1143 
Line 1147 
   
                 c->flags |= CLIENT_STATUS;                  c->flags |= CLIENT_STATUS;
                 break;                  break;
           case MODEKEYEDIT_NEXTSPACEEND:
                   wsep = " ";
                   /* FALLTHROUGH */
         case MODEKEYEDIT_NEXTWORDEND:          case MODEKEYEDIT_NEXTWORDEND:
                 wsep = options_get_string(oo, "word-separators");                  if (wsep == NULL)
                           wsep = options_get_string(oo, "word-separators");
   
                 /* Find a word. */                  /* Find a word. */
                 while (c->prompt_index != size) {                  while (c->prompt_index != size) {
Line 1162 
Line 1170 
   
                 c->flags |= CLIENT_STATUS;                  c->flags |= CLIENT_STATUS;
                 break;                  break;
           case MODEKEYEDIT_PREVIOUSSPACE:
                   wsep = " ";
                   /* FALLTHROUGH */
         case MODEKEYEDIT_PREVIOUSWORD:          case MODEKEYEDIT_PREVIOUSWORD:
                 wsep = options_get_string(oo, "word-separators");                  if (wsep == NULL)
                           wsep = options_get_string(oo, "word-separators");
   
                 /* Find a non-separator. */                  /* Find a non-separator. */
                 while (c->prompt_index != 0) {                  while (c->prompt_index != 0) {

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83