bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 052/177] man/curs_inopts.3x: Fix content and style nits.


From: G. Branden Robinson
Subject: [PATCH 052/177] man/curs_inopts.3x: Fix content and style nits.
Date: Mon, 13 Jan 2025 11:22:47 -0600

Content:
* It's not the library (ncurses or tinfo) itself that needs to be
  "initialized" before use of these functions, but the `TERMINAL` data
  structure corresponding to a device the library manages.

Style:
* Use better preposition.
* Use less awkward phrasing.
---
 man/curs_inopts.3x | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/man/curs_inopts.3x b/man/curs_inopts.3x
index 53109e384..067ad2de0 100644
--- a/man/curs_inopts.3x
+++ b/man/curs_inopts.3x
@@ -213,7 +213,7 @@ .SS halfdelay
 However,
 after blocking for
 .I tenths
-tenths of seconds,
+tenth-seconds,
 an input character reading function returns
 .B ERR
 if no input is pending.
@@ -511,12 +511,18 @@ .SH RETURN VALUE
 .B ERR
 if
 .bP
-the terminal is not initialized or
+the library's
+.I \%TERMINAL
+structure for the device has not been initialized with
+\fB\%initscr\fP(3X),
+\fB\%newterm\fP(3X),
+or
+\fB\%setupterm\fP(3X),
 .bP
 .I win
 is
 .I NULL
-(except for
+(except with
 .B \%intrflush
 and
 .BR meta ","
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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