mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 10:28:54 +00:00
Fix crash exiting command prompt (from Alex Maese in GitHub issue 1139)
and a man page tweak from jmc.
This commit is contained in:
parent
be4c01697c
commit
e91e8a2a6c
1
tmux.1
1
tmux.1
@ -3352,7 +3352,6 @@ All the notifications listed in the
|
||||
section are hooks (without any arguments), except
|
||||
.Ic %exit .
|
||||
The following additional hooks are available:
|
||||
.Pp
|
||||
.Bl -tag -width "XXXXXXXXXXXXXXXXXXXXXX"
|
||||
.It alert-activity
|
||||
Run when a window has activity.
|
||||
|
@ -931,7 +931,7 @@ window_tree_command_callback(struct client *c, void *modedata, const char *s,
|
||||
{
|
||||
struct window_tree_modedata *data = modedata;
|
||||
|
||||
if (data->dead)
|
||||
if (s == NULL || data->dead)
|
||||
return (0);
|
||||
|
||||
data->entered = s;
|
||||
|
Loading…
Reference in New Issue
Block a user