pub type NcOptions = notcurses_options;
Expand description

Options struct for Nc

Implementations

New NcOptions.

New NcOptions, with margins.

New NcOptions, with flags.

New NcOptions, with all the options.

Arguments
  • loglevel

    Progressively higher log levels result in more logging to stderr. By default, nothing is printed to stderr once fullscreen service begins.

  • margin_t, margin_r, margin_b, margin_l

    Desirable margins (top, right, bottom, left).

    If all are 0 (default), we will render to the entirety of the screen. If the screen is too small, we do what we can. Absolute coordinates are relative to the rendering area ((0, 0) is always the origin of the rendering area).

  • flags

    General flags; This is expressed as a bitfield so that future options can be added without reshaping the struct. Undefined bits must be set to 0.