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

master
Benno Schulenberg 2021-11-23 10:14:25 +01:00
parent 3be4ea0dc1
commit 8850015822
1 changed files with 5 additions and 0 deletions

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;