bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 05/22] man/curs_addch.3x: Fix content and style nits.


From: G. Branden Robinson
Subject: [PATCH 05/22] man/curs_addch.3x: Fix content and style nits.
Date: Sat, 1 Jun 2024 15:21:38 -0500

* Hew more closely to standard C's definitions of "wide" vs. "multibyte"
  characters.
* Alter preposition choice.
---
 man/curs_addch.3x | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index 78d783cd4..8a4945137 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -252,14 +252,15 @@ .SH RETURN VALUE
 .PP
 The last may be due to different causes:
 .bP
-conversion of a multibyte character to a byte sequence can fail,
+conversion of a wide character to a multibyte character sequence can
+fail,
 or
 .bP
-at least one of the bytes resulting from conversion from a multibyte
-sequence cannot be added to the window.
+at least one of the bytes resulting from wide character conversion to a
+multibyte character sequence cannot be added to the window.
 See section \*(``PORTABILITY\*('' below regarding the use of
 .B \%waddch
-with multibyte characters.
+with wide characters.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
 fail if the position
@@ -431,7 +432,7 @@ .SS "Character Set"
 .IR \%ncurses ,
 .I \%chtype
 holds an eight-bit character,
-but the library allows a multibyte character to be passed in a
+but the library allows a multibyte character sequence to be passed via a
 succession of calls to
 .BR \%waddch "."
 Other implementations do not;
@@ -445,7 +446,7 @@ .SS "Character Set"
 .I \%ncurses
 inspects the byte passed in each
 .B \%waddch
-call and checks whether the latest call continues a multibyte sequence.
+call and checks whether the latest call continues a multibyte character.
 When a character is
 .IR complete ","
 .I \%ncurses
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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