Skip to content
Snippets Groups Projects
Commit 3c123df1 authored by Markus Unterwaditzer's avatar Markus Unterwaditzer Committed by ticki
Browse files

Add migration path for TermRead (#38)

parent dcc37135
No related branches found
No related tags found
No related merge requests found
...@@ -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));`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment