Add migration path for TermRead (#38)
This commit is contained in:
parent
dcc371356d
commit
3c123df1fe
|
@ -40,6 +40,7 @@ version of Termion.
|
|||
| 0.1.0 | 1.0.0
|
||||
|--------------------------------|---------------------------
|
||||
| `use termion::IntoRawMode` | `use termion::raw::IntoRawMode`
|
||||
| `use termion::TermRead` | `use termion::input::TermRead`
|
||||
| `stdout.color(color::Red);` | `write!(stdout, "{}", color::Fg(color::Red));`
|
||||
| `stdout.color_bg(color::Red);` | `write!(stdout, "{}", color::Bg(color::Red));`
|
||||
| `stdout.goto(x, y);` | `write!(stdout, "{}", cursor::Goto(x, y));`
|
||||
|
|
Loading…
Reference in New Issue