summaryrefslogtreecommitdiff
path: root/vars.c
diff options
context:
space:
mode:
authorJeff Armstrong <jeffrey.armstrong@approximatrix.com>2017-07-05 21:03:06 -0400
committerJeff Armstrong <jeffrey.armstrong@approximatrix.com>2017-07-05 21:03:06 -0400
commit97fd3c0a40abdb973da17dd2dd835095fc232bb0 (patch)
tree1d2d77c4eb28f9c94c9cd620d42cdb3555384eb0 /vars.c
parent57bc003fcfcd699dc11e7190d88173cc235994d9 (diff)
downloadsedt-97fd3c0a40abdb973da17dd2dd835095fc232bb0.tar.gz
sedt-97fd3c0a40abdb973da17dd2dd835095fc232bb0.zip
Fixed resize operations and makefile for better portability. Properly implemented Do_Size global variable.HEADmaster
Diffstat (limited to 'vars.c')
-rw-r--r--vars.c4
1 files changed, 3 insertions, 1 deletions
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,