Commit 3c123df1 authored by Markus Unterwaditzer's avatar Markus Unterwaditzer Committed by ticki

Add migration path for TermRead (#38)

parent dcc37135
...@@ -40,6 +40,7 @@ version of Termion. ...@@ -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));`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment