Added scroll support to occupant list

This commit is contained in:
James Booth
2014-10-07 21:12:19 +01:00
parent 639796384a
commit b8ba9b038c
9 changed files with 51 additions and 24 deletions

View File

@@ -97,6 +97,7 @@ prof_run(const int disable_tls, char *log_level, char *account_name)
while(cmd_result == TRUE) {
wint_t ch = ERR;
int result;
size = 0;
while(ch != '\n') {
@@ -113,14 +114,14 @@ prof_run(const int disable_tls, char *log_level, char *account_name)
g_timer_start(timer);
}
ui_handle_special_keys(&ch, inp, size);
ui_handle_special_keys(&ch, result, inp, size);
#ifdef HAVE_LIBOTR
otr_poll();
#endif
jabber_process_events();
ui_update();
ch = ui_get_char(inp, &size);
ch = ui_get_char(inp, &size, &result);
}
inp[size++] = '\0';