Update README.md

This commit is contained in:
Timon 2018-06-23 20:35:08 +02:00 committed by GitHub
parent 43f605fa5c
commit d9e8caaa3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,14 +2,16 @@
Things where I am working on now:
I have implemented the alternate and raw screen features for unix systems. Now I am trying to get this also to work for windows with WINAPI.
I have implemented the alternate and raw screen features for Unix systems. Now I am trying to get this also to work for windows with WINAPI.
In the new version you must provide the Context type to the function calls `cursor(), color(), terminal()`. This type is used by Crossterm for managing the state of the terminal and for futures like `AlternateScreen` and `Rawscreen`.
Like described above the next version will have api braking changes. Why I needed to do that is essential for the functioning of these above features.
- At first `Terminal state`:
Because this is an terminal manupulating library there will be made changes to terminal when running an proccess with my libaray. If you stop the process you want the terminal back in it's original state. This is why I need to track the changes made to the terminal. This is done in the `Context` struct so that they can be undone in the end.
Because this is a terminal manipulating library there will be made changes to terminal when running an process with my library. If you stop the process you want the terminal back in its original state. Therefore, I need to track the changes made to the terminal. This is done in the `Context` struct so that they can be undone in the end.
- At second `Handle to the console`