commit - 41a9ae4060ba6215378a97251538791fd94605f6
commit + 960b01da276db9c9b70d0756a6d30833d37174f4
blob - 47f28a2f33a5466036a1a3e074f3c1e847eb64bd
blob + abe72527fe8fb818e1da736edb1a8d9c120d8077
--- cmd.c
+++ cmd.c
cmd_toggle_help(struct buffer *buffer)
{
ui_toggle_side_window();
- ui_schedule_redraw();
}
void
blob - 090f91e96b4d0ed0c5f340ab971aa688af5a4ad0
blob + 65f407b50b5a25eaeaf797a76f76eced6b9f66ef
--- ui.c
+++ ui.c
side_window = !side_window;
if (side_window)
recompute_help();
+
+ /*
+ * ugly hack, but otherwise the window doesn't get updated
+ * until I call handle_resize a second time (i.e. C-l). I
+ * will be happy to know why something like this is needed.
+ */
+ handle_resize_nodelay(0, 0, NULL);
+ handle_resize_nodelay(0, 0, NULL);
}
void