bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 051/177] man/curs_in{,w}str.3x: Clarify behavior of negative `n`


From: G. Branden Robinson
Subject: [PATCH 051/177] man/curs_in{,w}str.3x: Clarify behavior of negative `n` argument.
Date: Mon, 13 Jan 2025 11:22:38 -0600

Any negative value of the `n` argument behaves the same way.
---
 man/curs_instr.3x  | 10 +++-------
 man/curs_inwstr.3x | 10 +++-------
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/man/curs_instr.3x b/man/curs_instr.3x
index 1efde801b..07e47012b 100644
--- a/man/curs_instr.3x
+++ b/man/curs_instr.3x
@@ -90,10 +90,8 @@ .SH DESCRIPTION
 .I n
 characters from
 .IR win "."
-An
+A negative
 .I n
-of
-.B \-1
 implies no limit;
 .B \%winnstr
 then works like
@@ -155,11 +153,9 @@ .SH EXTENSIONS
 .BR \%mvinnstr ","
 and
 .BR \%mvwinnstr "'s"
-treatment of
-.B \-1
-as a valid value of
+acceptance of negative
 .I n
-is an
+values is an
 .I \%ncurses
 extension.
 .SH PORTABILITY
diff --git a/man/curs_inwstr.3x b/man/curs_inwstr.3x
index f1ac492d4..64eba54cf 100644
--- a/man/curs_inwstr.3x
+++ b/man/curs_inwstr.3x
@@ -89,10 +89,8 @@ .SH DESCRIPTION
 .I n
 wide characters from
 .IR win "."
-An
+A negative
 .I n
-of
-.B \-1
 implies no limit;
 .B \%winnwstr
 then works like
@@ -169,11 +167,9 @@ .SH EXTENSIONS
 .BR \%mvinnwstr ","
 and
 .BR \%mvwinnwstr "'s"
-treatment of
-.B \-1
-as a valid value of
+acceptance of negative
 .I n
-is an
+values is an
 .I \%ncurses
 extension.
 .SH PORTABILITY
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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