Skip to content

Commit

Permalink
doc: improve BUGS note for notcurses_metric(3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jun 5, 2024
1 parent 4e4a75b commit 8595f4a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc/man/man3/notcurses_metric.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,17 @@ filled in with the formatted output.
This function is difficult to understand, and takes too many arguments.
This function uses a library-wide instance of **struct notcurses**, created
in **notcurses_init**. If **notcurses_init** is called multiple times in a
process's lifetime, behavior is undefined. If **notcurses_stop** is called,
behavior is undefined.
If UTF-8 is available, 'µ' (U+00B5 MICRO SIGN) will be used in place of
'u' (U+0075 LATIN SMALL LETTER U) for the 'micro-' prefix. This is
determined by **notcurses_init**/**ncdirect_init**. Once UTF-8 is detected,
it is used for the lifetime of the process. The alternative would require
accepting a **const struct notcurses** (and associated API break).
# SEE ALSO
**localeconv(3)**,
**notcurses(3)**,
**notcurses_output(3)**,
**setlocale(3)**,
**snprintf(3)**
**snprintf(3)**,
**utf-8(7)**

0 comments on commit 8595f4a

Please sign in to comment.