@ -21,6 +21,7 @@ namespace ncpp
Invis = NCSTYLE_INVIS,
Protect = NCSTYLE_PROTECT,
Italic = NCSTYLE_ITALIC,
Struck = NCSTYLE_STRUCK,
};
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
@ -581,6 +581,7 @@ pub use bindgen::{
NCSTYLE_PROTECT,
NCSTYLE_REVERSE,
NCSTYLE_STANDOUT,
NCSTYLE_STRUCK,
NCSTYLE_UNDERLINE,
@ -130,6 +130,7 @@ int interrogate_terminfo(tinfo* ti){
if(nocolor_stylemask & WA_ITALIC){
ti->italics = NULL;
}
// can't do anything about struck! :/
terminfostr(&ti->getm, "getm"); // get mouse events
// Not all terminals support setting the fore/background independently