summaryrefslogtreecommitdiffstats
path: root/enter.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-06-08 09:17:25 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-06-08 09:17:25 +0000
commit57c930bf79e06c485142efeb62ffb1e9d8fe3d3b (patch)
treec3c1e876454aead42f16023f45b23a73961a03d6 /enter.c
parent1a5381e07e97fe482c2b3a7c75f99938f0b105d4 (diff)
Mutt 0.92.9i.mutt-0-92-9i
Diffstat (limited to 'enter.c')
-rw-r--r--enter.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/enter.c b/enter.c
index a7981ccc..b575db04 100644
--- a/enter.c
+++ b/enter.c
@@ -412,6 +412,15 @@ int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x,
mutt_alias_menu ((char *) buf, buflen, Aliases);
return (1);
}
+ else if (flags & M_COMMAND)
+ {
+ buf[curpos] = 0;
+ if (mutt_command_complete ((char *) buf, buflen, curpos))
+ {
+ redraw = M_REDRAW_INIT;
+ continue;
+ }
+ }
else if (flags & (M_FILE | M_EFILE))
{
buf[curpos] = 0;