From 990897b2f098f3ed898919e3e66c8830c2e3b450 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 19 May 2014 10:54:50 +0200 Subject: Resize panels properly Rewrite the panel resize code and remove the code that reinitializes the caption and the selected item when the window is resized. Signed-off-by: Lukas Fleischer --- src/calcurse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/calcurse.c') diff --git a/src/calcurse.c b/src/calcurse.c index de0d5a5..95a6dea 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -589,7 +589,7 @@ int main(int argc, char **argv) io_load_keys(conf.pager); io_load_todo(); io_load_app(); - wins_reinit(); + wins_resize(); /* * Refresh the hidden key handler window here to prevent wgetch() from * implicitly calling wrefresh() later (causing ncurses race conditions). -- cgit v1.2.3-54-g00ecf