Skip to content
Snippets Groups Projects
Commit a920c719 authored by rswindell's avatar rswindell
Browse files

Added cols variable to contain user's terminal column width.

parent bf10f9b9
Branches
Tags
No related merge requests found
...@@ -246,7 +246,8 @@ public: ...@@ -246,7 +246,8 @@ public:
uchar curatr; /* Current Text Attributes Always */ uchar curatr; /* Current Text Attributes Always */
long lncntr; /* Line Counter - for PAUSE */ long lncntr; /* Line Counter - for PAUSE */
long tos; /* Top of Screen */ long tos; /* Top of Screen */
long rows; /* Current Rows for User */ long rows; /* Current number of Rows for User */
long cols; /* Current number of Columns for User */
long autoterm; /* Autodetected terminal type */ long autoterm; /* Autodetected terminal type */
char slbuf[SAVE_LINES][LINE_BUFSIZE+1]; /* Saved for redisplay */ char slbuf[SAVE_LINES][LINE_BUFSIZE+1]; /* Saved for redisplay */
char slatr[SAVE_LINES]; /* Starting attribute of each line */ char slatr[SAVE_LINES]; /* Starting attribute of each line */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment