version 1.1, 2020/05/16 16:02:24 |
version 1.2, 2020/05/16 16:16:07 |
|
|
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); |
|
|
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); |
|
|
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); |
|
|
} 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); |
|
|
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); |