diff --git a/USAGE.md b/USAGE.md index c5e398888..cab0aee57 100644 --- a/USAGE.md +++ b/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 diff --git a/doc/man/man3/notcurses_directmode.3.md b/doc/man/man3/notcurses_directmode.3.md index bcef2d4fb..1967e1f19 100644 --- a/doc/man/man3/notcurses_directmode.3.md +++ b/doc/man/man3/notcurses_directmode.3.md @@ -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. diff --git a/doc/man/man3/notcurses_init.3.md b/doc/man/man3/notcurses_init.3.md index ba28cb251..98a22c506 100644 --- a/doc/man/man3/notcurses_init.3.md +++ b/doc/man/man3/notcurses_init.3.md @@ -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.