Add display-message -C flag to update pane while message is displayed,

GitHub issue 4363 from Vitaly Ostrosablin.
This commit is contained in:
nicm
2025-02-10 08:14:32 +00:00
parent 4c12ac9fb8
commit 80eb460fc9
11 changed files with 27 additions and 21 deletions

View File

@ -1000,7 +1000,7 @@ window_customize_set_option_callback(struct client *c, void *itemdata,
fail:
*cause = toupper((u_char)*cause);
status_message_set(c, -1, 1, 0, "%s", cause);
status_message_set(c, -1, 1, 0, 0, "%s", cause);
free(cause);
return (0);
}
@ -1203,7 +1203,7 @@ window_customize_set_command_callback(struct client *c, void *itemdata,
fail:
*error = toupper((u_char)*error);
status_message_set(c, -1, 1, 0, "%s", error);
status_message_set(c, -1, 1, 0, 0, "%s", error);
free(error);
return (0);
}