summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-19 10:54:50 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-19 10:54:50 +0200
commit990897b2f098f3ed898919e3e66c8830c2e3b450 (patch)
tree8d26aa7ef9195f387e688621447345a20cd2144a /src/calcurse.c
parente026481f11554580b234618e6a80242a6a9a50b1 (diff)
downloadcalcurse-990897b2f098f3ed898919e3e66c8830c2e3b450.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c2
1 files changed, 1 insertions, 1 deletions
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).