mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
rust: no more NCSTYLE_STANDOUT
This commit is contained in:
parent
ce073d22ac
commit
2ee6e23071
@ -16,12 +16,9 @@ fn main() -> NcResult<()> {
|
|||||||
dm.flush()?;
|
dm.flush()?;
|
||||||
|
|
||||||
dm.set_fg_rgb(0xff8080)?;
|
dm.set_fg_rgb(0xff8080)?;
|
||||||
dm.styles_on(NCSTYLE_STANDOUT)?;
|
|
||||||
printf!(" erp erp \n");
|
printf!(" erp erp \n");
|
||||||
dm.set_fg_rgb(0x80ff80)?;
|
dm.set_fg_rgb(0x80ff80)?;
|
||||||
printf!(" erp erp \n");
|
printf!(" erp erp \n");
|
||||||
dm.styles_off(NCSTYLE_STANDOUT)?;
|
|
||||||
printf!(" erp erp \n");
|
|
||||||
dm.set_fg_rgb(0xff8080)?;
|
dm.set_fg_rgb(0xff8080)?;
|
||||||
printf!(" erp erp \n");
|
printf!(" erp erp \n");
|
||||||
dm.cursor_right(dimx / 2)?;
|
dm.cursor_right(dimx / 2)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user