doc: improve BUGS note for notcurses_metric(3)

This commit is contained in:
nick black 2024-06-05 09:47:49 -04:00 committed by nick black
parent 4e4a75bc52
commit 8595f4a308

View File

@ -142,10 +142,11 @@ filled in with the formatted output.
This function is difficult to understand, and takes too many arguments. This function is difficult to understand, and takes too many arguments.
This function uses a library-wide instance of **struct notcurses**, created If UTF-8 is available, 'µ' (U+00B5 MICRO SIGN) will be used in place of
in **notcurses_init**. If **notcurses_init** is called multiple times in a 'u' (U+0075 LATIN SMALL LETTER U) for the 'micro-' prefix. This is
process's lifetime, behavior is undefined. If **notcurses_stop** is called, determined by **notcurses_init**/**ncdirect_init**. Once UTF-8 is detected,
behavior is undefined. it is used for the lifetime of the process. The alternative would require
accepting a **const struct notcurses** (and associated API break).
# SEE ALSO # SEE ALSO
@ -153,4 +154,5 @@ behavior is undefined.
**notcurses(3)**, **notcurses(3)**,
**notcurses_output(3)**, **notcurses_output(3)**,
**setlocale(3)**, **setlocale(3)**,
**snprintf(3)** **snprintf(3)**,
**utf-8(7)**