mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
feedback: give a more accurate message when the help lines won't appear
This commit is contained in:
parent
3be4ea0dc1
commit
8850015822
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user