aboutsummaryrefslogtreecommitdiff
path: root/contrib/libreadline/macro.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-12-31 09:06:30 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-12-31 09:06:30 +0000
commit2661c5c55d9501e24432444f14f499a6be24ed69 (patch)
tree7ab23277706b512032dc5a9144d193728ba52eae /contrib/libreadline/macro.c
parent5735c87c0532e0aacdcd229881902d947886168f (diff)
downloadsrc-2661c5c55d9501e24432444f14f499a6be24ed69.tar.gz
src-2661c5c55d9501e24432444f14f499a6be24ed69.zip
Virgin import of GNU Readline 5.2
Notes
Notes: svn path=/vendor/libreadline/dist/; revision=165670
Diffstat (limited to 'contrib/libreadline/macro.c')
-rw-r--r--contrib/libreadline/macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libreadline/macro.c b/contrib/libreadline/macro.c
index 2975bf1f74fa..00cd58d628c0 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