Tab completion of online contacts now rolls

This commit is contained in:
James Booth
2012-03-10 23:48:10 +00:00
parent b22a7c5fda
commit f7584469bb
3 changed files with 118 additions and 5 deletions

View File

@@ -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