Constant libnotcurses_sys::NCDIRECT_OPTION_INHIBIT_SETLOCALE[][src]

pub const NCDIRECT_OPTION_INHIBIT_SETLOCALE: NcDirectFlags = crate::bindings::ffi::NCDIRECT_OPTION_INHIBIT_SETLOCALE as NcDirectFlags; // 0x0000_0000_0000_0001u64
Expand description

Flag that avoids calling setlocale(LC_ALL, NULL)

If the result is 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.