mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
60bb8fa86d
@ -20,6 +20,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -190,6 +191,10 @@ cmd_run_shell_timer(__unused int fd, __unused short events, void* arg)
|
||||
&error);
|
||||
}
|
||||
if (status == CMD_PARSE_ERROR) {
|
||||
if (cdata->item == NULL) {
|
||||
*error = toupper((u_char)*error);
|
||||
status_message_set(c, -1, 1, "%s", error);
|
||||
} else
|
||||
cmdq_error(cdata->item, "%s", error);
|
||||
free(error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user