Update README.md
This commit is contained in:
parent
6ebcdf2376
commit
126f9b2631
@ -117,7 +117,7 @@ crossterm = "0.14"
|
|||||||
```rust
|
```rust
|
||||||
use std::io::{stdout, Write};
|
use std::io::{stdout, Write};
|
||||||
|
|
||||||
use crossterm::{execute, ExecutableCommand, style::{Attribute, Color, SetForegroundColor, SetBackgroundColor, ResetColor}, Output, Result};
|
use crossterm::{execute, ExecutableCommand, style::{Attribute, Color, SetForegroundColor, SetBackgroundColor, ResetColor, Print}, Result};
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
// using the macro
|
// using the macro
|
||||||
|
Loading…
Reference in New Issue
Block a user