mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Removed debug
This commit is contained in:
parent
e1db13ea2b
commit
036d13b80c
@ -556,14 +556,12 @@ _handle_edit(int key_type, const wint_t ch)
|
|||||||
if ((strncmp(input, "/", 1) != 0) && (ui_current_win_type() == WIN_MUC)) {
|
if ((strncmp(input, "/", 1) != 0) && (ui_current_win_type() == WIN_MUC)) {
|
||||||
char *result = muc_autocomplete(input);
|
char *result = muc_autocomplete(input);
|
||||||
if (result) {
|
if (result) {
|
||||||
cons_debug("ac result = %s", result);
|
|
||||||
inp_replace_input(result);
|
inp_replace_input(result);
|
||||||
free(result);
|
free(result);
|
||||||
}
|
}
|
||||||
} else if (strncmp(input, "/", 1) == 0) {
|
} else if (strncmp(input, "/", 1) == 0) {
|
||||||
char *result = cmd_autocomplete(input);
|
char *result = cmd_autocomplete(input);
|
||||||
if (result) {
|
if (result) {
|
||||||
cons_debug("ac result = %s", result);
|
|
||||||
inp_replace_input(result);
|
inp_replace_input(result);
|
||||||
free(result);
|
free(result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user