Paging in console window

This commit is contained in:
James Booth
2012-03-05 00:06:24 +00:00
parent 20c05b2f77
commit 0ddf97e016
4 changed files with 69 additions and 6 deletions

View File

@@ -47,11 +47,13 @@ void profanity_run(void)
gui_refresh();
jabber_process_events();
win_handle_switch(&ch);
win_handle_page(&ch);
inp_poll_char(&ch, inp, &size);
}
inp[size++] = '\0';
cmd_result = process_input(inp);
win_page_off();
}
}