diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-24 14:12:20 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-24 14:12:20 +0000 |
commit | b91528213832e6344edc21370e50c8e621ec0d62 (patch) | |
tree | cfc7fde3e71266768cbc75f652c089d805ebe45a /init.c | |
parent | e20967563e6ff5093eaefb957388c8a26b931b43 (diff) |
Vikas' merged completion patch, level 3.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1220,6 +1220,9 @@ int mutt_command_complete (char *buffer, size_t len, int pos, int numtabs) return 1; } + if (Completed[0] == 0 && User_typed[0]) + return 0; + /* Num_matched will _always_ be atleast 1 since the initial * user-typed string is always stored */ if (numtabs == 1 && Num_matched == 2) @@ -1270,6 +1273,9 @@ int mutt_command_complete (char *buffer, size_t len, int pos, int numtabs) return 1; } + if (Completed[0] == 0 && User_typed[0]) + return 0; + /* Num_matched will _always_ be atleast 1 since the initial * user-typed string is always stored */ if (numtabs == 1 && Num_matched == 2) |