mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.
This commit is contained in:
@ -1003,7 +1003,7 @@ window_customize_set_option_callback(struct client *c, void *itemdata,
|
||||
|
||||
fail:
|
||||
*cause = toupper((u_char)*cause);
|
||||
status_message_set(c, 1, "%s", cause);
|
||||
status_message_set(c, -1, 1, "%s", cause);
|
||||
free(cause);
|
||||
return (0);
|
||||
}
|
||||
@ -1209,7 +1209,7 @@ window_customize_set_command_callback(struct client *c, void *itemdata,
|
||||
|
||||
fail:
|
||||
*error = toupper((u_char)*error);
|
||||
status_message_set(c, 1, "%s", error);
|
||||
status_message_set(c, -1, 1, "%s", error);
|
||||
free(error);
|
||||
return (0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user