Merge branch 'master' of github.com:dankamongmen/notcurses

pull/1232/head
nick black 4 years ago
commit 50d31e55a5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -11,5 +11,5 @@ fn constructors() {
let _c2 = NcCell::with_7bitchar('C');
let _c3 = NcCell::with_all('c', 0, 0);
let _c3 = NcCell::with_all('c', 0, 0, 0);
}

@ -18,7 +18,7 @@ fn channels() {
assert_eq![0xBB445566, crate::cell_bchannel(&c1)];
assert_eq![0xAA112233BB445566, channels];
let c2 = NcCell::with_all(' ', 0, 0x0011223300445566);
let c2 = NcCell::with_all(' ', 0, 0, 0x0011223300445566);
assert_eq![0x112233, crate::cell_fchannel(&c2)];
assert_eq![0x445566, crate::cell_bchannel(&c2)];
}

@ -102,16 +102,17 @@ pub const NCOPTION_NO_FONT_CHANGES: u64 = crate::bindings::ffi::NCOPTION_NO_FONT
/// Do not handle SIG{ING, SEGV, ABRT, QUIT}
///
/// We typically install a signal handler for SIG{INT, SEGV, ABRT, QUIT} that
/// restores the screen, and then calls the old signal handler. Set to inhibit
/// registration of these signal handlers.
/// A signal handler will usually be installed for SIGINT, SIGQUIT, SIGSEGV,
/// SIGTERM, and SIGABRT, cleaning up the terminal on such exceptions.
/// With this flag, the handler will not be installed.
pub const NCOPTION_NO_QUIT_SIGHANDLERS: u64 =
crate::bindings::ffi::NCOPTION_NO_QUIT_SIGHANDLERS as u64;
/// Do not handle SIGWINCH
///
/// We typically install a signal handler for SIGWINCH that generates a resize
/// event in the notcurses_getc() queue. Set to inhibit this handler
/// A signal handler will usually be installed for SIGWINCH, resulting in
/// NCKEY_RESIZE events being generated on input.
/// With this flag, the handler will not be installed.
pub const NCOPTION_NO_WINCH_SIGHANDLER: u64 =
crate::bindings::ffi::NCOPTION_NO_WINCH_SIGHANDLER as u64;

Loading…
Cancel
Save