Add migration path for TermRead (#38)

This commit is contained in:
Markus Unterwaditzer 2016-07-27 20:42:59 +02:00 committed by ticki
parent dcc371356d
commit 3c123df1fe
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ version of Termion.
| 0.1.0 | 1.0.0 | 0.1.0 | 1.0.0
|--------------------------------|--------------------------- |--------------------------------|---------------------------
| `use termion::IntoRawMode` | `use termion::raw::IntoRawMode` | `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(color::Red);` | `write!(stdout, "{}", color::Fg(color::Red));`
| `stdout.color_bg(color::Red);` | `write!(stdout, "{}", color::Bg(color::Red));` | `stdout.color_bg(color::Red);` | `write!(stdout, "{}", color::Bg(color::Red));`
| `stdout.goto(x, y);` | `write!(stdout, "{}", cursor::Goto(x, y));` | `stdout.goto(x, y);` | `write!(stdout, "{}", cursor::Goto(x, y));`