Type Definition libnotcurses_sys::NcDirectFlags[][src]

pub type NcDirectFlags = u64;
Expand description

Flags (options) for NcDirect (alias of u64).

Trait Implementations

Input may be freely dropped.

This ought be provided when the program does not intend to handle input. Otherwise, input can accumulate in internal buffers, eventually preventing Notcurses from processing terminal messages.

Flag that avoids placing the terminal into cbreak mode (disabling echo and line buffering)

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.

Flag that inhibits registration of the SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGINT, SIGQUIT, SIGSEGV and SIGTERM, signal handlers.

Flag that enables showing detailed information.

Flag that enables showing all diagnostics (equivalent to NcLogLevel::TRACE). Implies NcDirectFlags::VERBOSE.