mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
c++/rust struck #1138
This commit is contained in:
parent
f89ca15640
commit
ebc80915a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user