Moved resize code to windows.c, reorder main loop

This commit is contained in:
James Booth
2012-04-17 22:43:35 +01:00
parent 84c864663b
commit 32e025f5cd
4 changed files with 34 additions and 35 deletions

View File

@@ -47,8 +47,8 @@ void profanity_run(void)
while(ch != '\n') {
gui_refresh();
jabber_process_events();
win_handle_special_keys(&ch);
inp_get_char(&ch, inp, &size);
win_handle_special_keys(&ch);
}
inp[size++] = '\0';