Update UpgradeManual.md
This commit is contained in:
parent
02fb04aac4
commit
e26fc81e86
@ -22,7 +22,7 @@ let terminal = terminal(&context);
|
||||
let color = color(&context);
|
||||
|
||||
/// new situation
|
||||
use crossterm::Context;
|
||||
use crossterm::Screen;
|
||||
|
||||
let screen: Screen = Screen::default();
|
||||
|
||||
@ -164,4 +164,4 @@ New: ::crossterm::terminal::terminal();
|
||||
|
||||
Old: ::crossterm::crossterm_style::color::get();
|
||||
New: ::crossterm::style::color::color();
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user