mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
fix typos
This commit is contained in:
parent
94827c12a2
commit
00b5445418
2
USAGE.md
2
USAGE.md
@ -295,7 +295,7 @@ instance. Use `ncdirect_init()` to create a direct mode context:
|
||||
struct ncdirect; // minimal state for a terminal
|
||||
|
||||
// Initialize a direct-mode Notcurses context on the connected terminal at 'fp'.
|
||||
// 'fp' must be a tty. You'll usually want stdout. Direct mode supportes a
|
||||
// 'fp' must be a tty. You'll usually want stdout. Direct mode supports a
|
||||
// limited subset of Notcurses routines which directly affect 'fp', and neither
|
||||
// supports nor requires notcurses_render(). This can be used to add color and
|
||||
// styling to text in the standard output paradigm. 'flags' is a bitmask over
|
||||
|
@ -88,7 +88,7 @@ The following flags are defined:
|
||||
|
||||
* **NCDIRECT_OPTION_INHIBIT_SETLOCALE**: Unless this flag is set,
|
||||
**ncdirect_init** will call **setlocale(LC_ALL, NULL)**. If the result is
|
||||
either "**C**" or "**POSIX**", it will print a diagnostic to **stder**, and
|
||||
either "**C**" or "**POSIX**", it will print a diagnostic to **stderr**, and
|
||||
then call **setlocale(LC_ALL, "").** This will attempt to set the locale
|
||||
based off the **LANG** environment variable. Your program should call
|
||||
**setlocale(3)** itself, usually as one of the first lines.
|
||||
|
@ -106,7 +106,7 @@ zero. The following flags are defined:
|
||||
|
||||
* **NCOPTION_INHIBIT_SETLOCALE**: Unless this flag is set, **notcurses_init**
|
||||
will call **setlocale(LC_ALL, NULL)**. If the result is either "**C**" or
|
||||
"**POSIX**", it will print a diagnostic to **stder**, and then call
|
||||
"**POSIX**", it will print a diagnostic to **stderr**, and then call
|
||||
**setlocale(LC_ALL, "").** This will attempt to set the locale based off
|
||||
the **LANG** environment variable. Your program should call **setlocale(3)**
|
||||
itself, usually as one of the first lines.
|
||||
|
Loading…
x
Reference in New Issue
Block a user