diff options
author | James Booth <boothj5@gmail.com> | 2014-07-15 23:54:21 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-07-15 23:54:21 +0100 |
commit | 5872c4b55451a84e1a76fd00d58fe49648d48964 (patch) | |
tree | 57bd20dd0fa3d3c37a15b0303f85cedf04e75d91 | |
parent | f8f02e8f1e1ad2e8170b32b0e2e0ff10895f9aea (diff) | |
parent | afde9d770a94aa2684d6d40a7735a775b0122594 (diff) | |
download | profani-tty-5872c4b55451a84e1a76fd00d58fe49648d48964.tar.gz |
Merge branch 'master' into winbuffers
-rw-r--r-- | src/muc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/muc.c b/src/muc.c index 95f8e730..d623da2d 100644 --- a/src/muc.c +++ b/src/muc.c @@ -608,6 +608,9 @@ muc_autocomplete(char *input, int *size) if (result != NULL) { GString *replace_with = g_string_new(chat_room->autocomplete_prefix); g_string_append(replace_with, result); + if (last_space == NULL || (*(last_space+1) == '\0')) { + g_string_append(replace_with, ": "); + } ui_replace_input(input, replace_with->str, size); g_string_free(replace_with, TRUE); g_free(result); |