pub type NcReaderOptions = ncreader_options;Expand description
Options struct for NcReader
type in C: ncreader_options (struct)
Aliased Type§
#[repr(C)]pub struct NcReaderOptions {
pub tchannels: u64,
pub tattrword: u32,
pub flags: u64,
}Fields§
§tchannels: u64channels used for input
tattrword: u32attributes used for input
flags: u64bitfield of NCREADER_OPTION_*
Implementations§
Source§impl NcReaderOptions
§NcReaderOptions Constructors
impl NcReaderOptions
§NcReaderOptions Constructors
Source§impl NcReaderOptions
impl NcReaderOptions
Sourcepub const CURSOR: u32 = 8u32
pub const CURSOR: u32 = 8u32
Makes the terminal cursor visible across the lifetime of the ncreader, and have the ncreader manage the cursor’s placement.
Sourcepub const HORSCROLL: u32 = 1u32
pub const HORSCROLL: u32 = 1u32
Enables horizontal scrolling. Virtual lines can then grow arbitrarily long.