mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-10 17:31:59 +02:00
only show license on terminal with width above 40
It's almost unreadable on anything less also we need to find space in the specified witdh, to make line breaks, longest piece of text uninterrupted by space is 29 characters (link to GPL license) Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
@@ -210,7 +210,7 @@ static const GenericList gl_License = {
|
||||
void display_license()
|
||||
{
|
||||
ListData *ldata;
|
||||
if (flayer->l_width < 10 || flayer->l_height < 5) {
|
||||
if (flayer->l_width < 40 || flayer->l_height < 5) {
|
||||
LMsg(0, "Window size too small for license page");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user