From 97fd3c0a40abdb973da17dd2dd835095fc232bb0 Mon Sep 17 00:00:00 2001 From: Jeff Armstrong Date: Wed, 5 Jul 2017 21:03:06 -0400 Subject: Fixed resize operations and makefile for better portability. Properly implemented Do_Size global variable. --- vars.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vars.c') diff --git a/vars.c b/vars.c index 556fc45..312616f 100644 --- a/vars.c +++ b/vars.c @@ -617,7 +617,9 @@ int Tabs[513], /*the user supplied file arguments when calling Sedt*/ Margin=1, /*Number of lines to leave between the cursor and the top and bottom of the window*/ - Requested_Margin=1; + Requested_Margin=1, + /* Force a resize on UNIX terminals with curses */ + Do_Size=1; /*Number of lines user requested between the cursor and top and bottom of window*/ short int Any_Changes[Maxbuffers], Read_Only[Maxbuffers]; long This_Line=1, Hdr_Line, Mem_Limit= -1, Hdr_Lines, Word_Wrap=1, -- cgit v1.2.3