document nl_langinfo() check

pull/138/head
nick black 5 years ago
parent 54eb41cf3a
commit 12018f3096
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -97,7 +97,8 @@ provided, and can be accessed as `notcurses`.
Before calling into notcurses—and usually as one of the first calls of the
program—be sure to call `setlocale(3)` with an appropriate UTF-8 `LC_ALL`
locale. It is usually appropriate to use `setlocale(LC_ALL, "")`, relying on
the user to properly set the `LANG` environment variable.
the user to properly set the `LANG` environment variable. notcurses will
refuse to start if `nl_langinfo(3)` doesn't indicate UTF-8.
notcurses requires an available `terminfo(5)` definition appropriate for the
terminal. It is usually appropriate to pass `NULL` in the `termtype` field of a

Loading…
Cancel
Save