Create UPGRADE Manual

This commit is contained in:
Timon 2018-05-20 14:31:49 +02:00 committed by GitHub
parent df86426c93
commit 1a2a4058e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
UPGRADE Manual Normal file
View File

@ -0,0 +1,24 @@
Upgrade crossterm 0.2 to 0.2.1
Namespaces:
I have changed the namespaces. I found the namsespaces to long so I have shoted them like the followin:
Old: crossterm::crosster_style
New: crossterm::style
Old: crossterm::crosster_terminal
New: crossterm::terminal
Old: crossterm::crosster_cursor
New: crossterm::cursor
Method names that changed [Issue 4](https://github.com/TimonPost/crossterm/issues/4):
Old: crossterm::crossterm_cursor::get();
New: use crossterm::cursor::cursor();
Old: crossterm::crossterm_terminal::get();
New: use crossterm::terminal::terminal();
Old: crossterm::crossterm_style::color::get();
New: use crossterm::style::color::color();