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

Diff for /src/usr.bin/tmux/window-customize.c between version 1.1 and 1.2

version 1.1, 2020/05/16 16:02:24 version 1.2, 2020/05/16 16:16:07
Line 1111 
Line 1111 
                 new_item->idx = idx;                  new_item->idx = idx;
   
                 data->references++;                  data->references++;
                 status_prompt_set(c, prompt, value,                  status_prompt_set(c, NULL, prompt, value,
                     window_customize_set_option_callback,                      window_customize_set_option_callback,
                     window_customize_free_item_callback, new_item,                      window_customize_free_item_callback, new_item,
                     PROMPT_NOFORMAT);                      PROMPT_NOFORMAT);
Line 1243 
Line 1243 
                 new_item->key = key;                  new_item->key = key;
   
                 data->references++;                  data->references++;
                 status_prompt_set(c, prompt, value,                  status_prompt_set(c, NULL, prompt, value,
                     window_customize_set_command_callback,                      window_customize_set_command_callback,
                     window_customize_free_item_callback, new_item,                      window_customize_free_item_callback, new_item,
                     PROMPT_NOFORMAT);                      PROMPT_NOFORMAT);
Line 1259 
Line 1259 
                 new_item->key = key;                  new_item->key = key;
   
                 data->references++;                  data->references++;
                 status_prompt_set(c, prompt, (bd->note == NULL ? "" : bd->note),                  status_prompt_set(c, NULL, prompt,
                       (bd->note == NULL ? "" : bd->note),
                     window_customize_set_note_callback,                      window_customize_set_note_callback,
                     window_customize_free_item_callback, new_item,                      window_customize_free_item_callback, new_item,
                     PROMPT_NOFORMAT);                      PROMPT_NOFORMAT);
Line 1398 
Line 1399 
                 } else                  } else
                         xasprintf(&prompt, "Unset option %s? ", item->name);                          xasprintf(&prompt, "Unset option %s? ", item->name);
                 data->references++;                  data->references++;
                 status_prompt_set(c, prompt, "",                  status_prompt_set(c, NULL, prompt, "",
                     window_customize_unset_current_callback,                      window_customize_unset_current_callback,
                     window_customize_free_callback, data,                      window_customize_free_callback, data,
                     PROMPT_SINGLE|PROMPT_NOFORMAT);                      PROMPT_SINGLE|PROMPT_NOFORMAT);
Line 1410 
Line 1411 
                         break;                          break;
                 xasprintf(&prompt, "Unset or unbind %u tagged? ", tagged);                  xasprintf(&prompt, "Unset or unbind %u tagged? ", tagged);
                 data->references++;                  data->references++;
                 status_prompt_set(c, prompt, "",                  status_prompt_set(c, NULL, prompt, "",
                     window_customize_unset_tagged_callback,                      window_customize_unset_tagged_callback,
                     window_customize_free_callback, data,                      window_customize_free_callback, data,
                     PROMPT_SINGLE|PROMPT_NOFORMAT);                      PROMPT_SINGLE|PROMPT_NOFORMAT);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2