rust: add constant NCOPTION_NO_CLEAR_BITMAPS

This commit is contained in:
joseLuís 2021-04-08 09:22:56 +02:00
parent 7c6083ee1a
commit 4996bebad0
2 changed files with 7 additions and 0 deletions

View File

@ -692,6 +692,7 @@ pub use ffi::{
// // constants
// NCOPTION_INHIBIT_SETLOCALE,
// NCOPTION_NO_ALTERNATE_SCREEN,
// NCOPTION_NO_CLEAR_BITMAPS
// NCOPTION_NO_FONT_CHANGES,
// NCOPTION_NO_QUIT_SIGHANDLERS,
// NCOPTION_NO_WINCH_SIGHANDLER,

View File

@ -118,6 +118,12 @@ pub const NCOPTION_INHIBIT_SETLOCALE: u64 = crate::bindings::ffi::NCOPTION_INHIB
pub const NCOPTION_NO_ALTERNATE_SCREEN: u64 =
crate::bindings::ffi::NCOPTION_NO_ALTERNATE_SCREEN as u64;
/// Do not try to clear any preexisting bitmaps.
///
/// Note that they might still get cleared even if this is set, and they might
/// not get cleared even if this is not set.
pub const NCOPTION_NO_CLEAR_BITMAPS: u64 = crate::bindings::ffi::NCOPTION_NO_CLEAR_BITMAPS as u64;
/// Do not modify the font.
///
/// Notcurses might attempt to change the font slightly, to support certain