Moved windows on resize

This commit is contained in:
James Booth
2012-04-22 20:59:36 +01:00
parent e5d4e09f6a
commit 6f69ce267b
6 changed files with 24 additions and 18 deletions

View File

@@ -45,13 +45,16 @@ void profanity_run(void)
int size = 0;
while(ch != '\n') {
gui_refresh();
jabber_process_events();
inp_get_char(&ch, inp, &size);
win_handle_special_keys(&ch);
if (ch == KEY_RESIZE) {
gui_resize(ch, inp, size);
}
gui_refresh();
jabber_process_events();
inp_get_char(&ch, inp, &size);
}
inp[size++] = '\0';