diff options
author | ache <ache@FreeBSD.org> | 2006-12-31 09:06:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-12-31 09:06:30 +0000 |
commit | 0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3 (patch) | |
tree | 7ab23277706b512032dc5a9144d193728ba52eae /contrib/libreadline/macro.c | |
parent | ead5fc05b9835be798994dfae32172fde03e9d74 (diff) | |
download | FreeBSD-src-0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3.zip FreeBSD-src-0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3.tar.gz |
Virgin import of GNU Readline 5.2
Diffstat (limited to 'contrib/libreadline/macro.c')
-rw-r--r-- | contrib/libreadline/macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libreadline/macro.c b/contrib/libreadline/macro.c index 2975bf1..00cd58d 100644 --- a/contrib/libreadline/macro.c +++ b/contrib/libreadline/macro.c @@ -113,7 +113,7 @@ _rl_next_macro_key () #if defined (READLINE_CALLBACKS) c = rl_executing_macro[executing_macro_index++]; - if (RL_ISSTATE (RL_STATE_CALLBACK) && RL_ISSTATE (RL_STATE_READCMD) && rl_executing_macro[executing_macro_index] == 0) + if (RL_ISSTATE (RL_STATE_CALLBACK) && RL_ISSTATE (RL_STATE_READCMD|RL_STATE_MOREINPUT) && rl_executing_macro[executing_macro_index] == 0) _rl_pop_executing_macro (); return c; #else |