Replace input on resize

This commit is contained in:
James Booth
2012-04-17 23:28:21 +01:00
parent 32e025f5cd
commit 2101f29e06
4 changed files with 26 additions and 14 deletions

View File

@@ -49,6 +49,9 @@ void profanity_run(void)
jabber_process_events();
inp_get_char(&ch, inp, &size);
win_handle_special_keys(&ch);
if (ch == KEY_RESIZE) {
gui_resize(ch, inp, size);
}
}
inp[size++] = '\0';