rust: no more NCSTYLE_STANDOUT

This commit is contained in:
nick black 2021-06-23 22:22:11 -04:00
parent ce073d22ac
commit 2ee6e23071
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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)?;