[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.212 and 1.213

version 1.212, 2020/05/16 16:33:16 version 1.213, 2020/05/16 16:35:13
Line 1023 
Line 1023 
         int                      keys;          int                      keys;
   
         if (c->prompt_flags & PROMPT_KEY) {          if (c->prompt_flags & PROMPT_KEY) {
                 keystring = key_string_lookup_key(key);                  keystring = key_string_lookup_key(key, 0);
                 c->prompt_inputcb(c, c->prompt_data, keystring, 1);                  c->prompt_inputcb(c, c->prompt_data, keystring, 1);
                 status_prompt_clear(c);                  status_prompt_clear(c);
                 return (0);                  return (0);
Line 1039 
Line 1039 
                 free(s);                  free(s);
                 return (1);                  return (1);
         }          }
         key &= ~KEYC_XTERM;          key &= ~KEYC_MASK_FLAGS;
   
         keys = options_get_number(c->session->options, "status-keys");          keys = options_get_number(c->session->options, "status-keys");
         if (keys == MODEKEY_VI) {          if (keys == MODEKEY_VI) {

Legend:
Removed from v.1.212  
changed lines
  Added in v.1.213