mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Add infrastructure to work out the best target given a pane or window
alone and use it to add pane_died and pane_exited hooks.
This commit is contained in:
@ -44,6 +44,9 @@ cmdq_new(struct client *c)
|
||||
cmdq->item = NULL;
|
||||
cmdq->cmd = NULL;
|
||||
|
||||
cmd_find_clear_state(&cmdq->current, NULL, 0);
|
||||
cmdq->parent = NULL;
|
||||
|
||||
return (cmdq);
|
||||
}
|
||||
|
||||
@ -286,3 +289,4 @@ cmdq_flush(struct cmd_q *cmdq)
|
||||
}
|
||||
cmdq->item = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user