1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

Merge pull request #8 from ailin-nemui/ffrogman

Fix cursor getting stuck for auto completions that changes case
This commit is contained in:
ailin-nemui 2021-08-10 22:36:03 +02:00 committed by GitHub
commit 53b2e0775a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ char *auto_word_complete(const char *line, int *pos)
/* check for words in autocompletion list */
replace = completion_find(word, TRUE);
if (replace == NULL) {
if (replace == NULL || (!g_strcmp0(replace, word))) {
ret = NULL;
g_string_free(result, TRUE);
} else {