Skip to content

Commit

Permalink
rust: no more NCSTYLE_STANDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jun 24, 2021
1 parent ce073d2 commit 2ee6e23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rust/examples/poc-direct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ fn main() -> NcResult<()> {
dm.flush()?;

dm.set_fg_rgb(0xff8080)?;
dm.styles_on(NCSTYLE_STANDOUT)?;
printf!(" erp erp \n");
dm.set_fg_rgb(0x80ff80)?;
printf!(" erp erp \n");
dm.styles_off(NCSTYLE_STANDOUT)?;
printf!(" erp erp \n");
dm.set_fg_rgb(0xff8080)?;
printf!(" erp erp \n");
dm.cursor_right(dimx / 2)?;
Expand Down

0 comments on commit 2ee6e23

Please sign in to comment.