mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Do not attempt to use client in config file (it will be NULL), GitHub
issue 3206.
This commit is contained in:
parent
0f6227f46b
commit
18838fbc87
@ -84,7 +84,7 @@ cmd_run_shell_print(struct job *job, const char *msg)
|
||||
|
||||
if (cdata->wp_id != -1)
|
||||
wp = window_pane_find_by_id(cdata->wp_id);
|
||||
if (wp == NULL && cdata->item != NULL)
|
||||
if (wp == NULL && cdata->item != NULL && cdata->client != NULL)
|
||||
wp = server_client_get_pane(cdata->client);
|
||||
if (wp == NULL && cmd_find_from_nothing(&fs, 0) == 0)
|
||||
wp = fs.wp;
|
||||
|
Loading…
Reference in New Issue
Block a user