mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Enter is now sent from single prompt as \r not empty string.
This commit is contained in:
parent
363f35f076
commit
67cc7f6dc6
@ -130,7 +130,7 @@ cmd_confirm_before_callback(struct client *c, void *data, const char *s,
|
|||||||
|
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
if (s[0] != cdata->confirm_key && (s[0] != '\0' || !cdata->default_yes))
|
if (s[0] != cdata->confirm_key && (s[0] != '\r' || !cdata->default_yes))
|
||||||
goto out;
|
goto out;
|
||||||
retcode = 0;
|
retcode = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user