mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 08:16:20 +00:00
Tab completion of online contacts now rolls
This commit is contained in:
@@ -108,6 +108,8 @@ void inp_get_char(int *ch, char *input, int *size)
|
||||
waddch(inp_win, *ch);
|
||||
input[(*size)++] = *ch;
|
||||
}
|
||||
|
||||
reset_search_attempts();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,6 +153,7 @@ static int _handle_edit(const int ch, char *input, int *size)
|
||||
|
||||
case 127:
|
||||
case KEY_BACKSPACE:
|
||||
reset_search_attempts();
|
||||
if (*size > 0) {
|
||||
|
||||
// if at end, delete last char
|
||||
|
||||
Reference in New Issue
Block a user