mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Add a comment about multibyte character handling in prepstr()
This commit is contained in:
parent
15f06bdc79
commit
184c07d19d
@ -343,6 +343,10 @@ extern int txdlgbox (int maxlines, int ncols, int begin_y, int begin_x,
|
|||||||
will force the start of a new line. By default, attr_norm is used as
|
will force the start of a new line. By default, attr_norm is used as
|
||||||
the character rendition (attributes).
|
the character rendition (attributes).
|
||||||
|
|
||||||
|
Please note that this function does NOT handle multibyte characters
|
||||||
|
correctly: widths may be incorrect (byte count, not actual width) and
|
||||||
|
multibyte characters may be split over two lines.
|
||||||
|
|
||||||
This function returns the actual number of lines used (from 0 to
|
This function returns the actual number of lines used (from 0 to
|
||||||
maxlines), or -1 on error (with errno set to EINVAL for an invalid
|
maxlines), or -1 on error (with errno set to EINVAL for an invalid
|
||||||
format conversion specifier or argument).
|
format conversion specifier or argument).
|
||||||
|
Loading…
Reference in New Issue
Block a user