bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 26/52] man/curs_variables.3x: Describe `COLS` and `LINES` togethe


From: G. Branden Robinson
Subject: [PATCH 26/52] man/curs_variables.3x: Describe `COLS` and `LINES` together.
Date: Fri, 22 Dec 2023 17:05:31 -0600

---
 man/curs_variables.3x | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/man/curs_variables.3x b/man/curs_variables.3x
index c87ae100a..51cb7e098 100644
--- a/man/curs_variables.3x
+++ b/man/curs_variables.3x
@@ -60,8 +60,8 @@ .SH NAME
 \fB\%ERR\fP,
 \fB\%OK\fP,
 \fB\%COLS\fP,
-\fB\%ESCDELAY\fP,
 \fB\%LINES\fP,
+\fB\%ESCDELAY\fP,
 \fB\%TABSIZE\fP,
 \fB\%curscr\fP,
 \fB\%newscr\fP,
@@ -182,12 +182,15 @@ .SS "\fIWINDOW\fP, curscr, stdscr, newscr"
 It is the same size as the terminal screen and is the default window
 used by routines that do not take a parameter identifying one.
 Many \fIcurses\fP functions use this window.
-.SS COLS
+.SS "COLS, LINES"
 Once \fIcurses\fP is initialized,
-\fB\%COLS\fP
-contains the screen's width in character cells;
+.B \%COLS
+and
+.B LINES
+contain the screen's width and height in character cells,
+respectively;
 that is,
-the number of columns.
+the number of columns and lines.
 .SS ESCDELAY
 For \fIcurses\fP to distinguish an escape character corresponding to a
 user's press of an \*(``Escape\*('' key on the input device from one
@@ -197,12 +200,6 @@ .SS ESCDELAY
 character.
 \fB\%ESCDELAY\fP
 stores this interval in milliseconds.
-.SS LINES
-Once \fIcurses\fP is initialized,
-\fB\%LINES\fP
-contains the screen's height in character cells;
-that is,
-the number of lines.
 .SS TABSIZE
 The \fIcurses\fP library converts a tab character to this number of
 spaces as it adds a tab to a window;
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]