feedback: give a more accurate message when the help lines won't appear

This commit is contained in:
Benno Schulenberg 2021-11-23 10:14:25 +01:00
parent 3be4ea0dc1
commit 8850015822

View File

@ -1078,6 +1078,11 @@ void toggle_this(int flag)
draw_all_subwindows();
return;
case NO_HELP:
if (LINES < 6) {
statusline(AHEM, _("Too tiny"));
TOGGLE(flag);
return;
}
window_init();
draw_all_subwindows();
break;