Update crossterm to 0.27.0 and bump minor version #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello! I am currently developing a CLI app in my spare time using
termimad
. Long story short, I needed to update to the very latest version ofcrossterm
so that I can suppress color output based on a command line argument. There were some breaking changes to the public interface in the latest version ofcrossterm
(0.27.0
), so I had to make edits to all of the following libraries locally in order to get everything to work:termimad
Please see this MR
crossterm
version to0.27.0
from=0.23.2
KeyEvent
was being initialized needed to be updated to initialize new memberskind
andstate
underline_color
toCompoundStyle
version
to0.27.0
from0.26.1
crokey
crossterm
version to0.27.0
from0.24.0
key!
macro to initialize newKeyEvent
membersversion
to0.6.0
from0.5.1
coolor
Please see this MR
crossterm
version to>=0.23.2
from=0.23.2
to resolve a compile error caused by mismatchedcrossterm
versionsversion
to0.8.1
from0.8.0
, since (AFAIK) this shouldn't be a breaking changeI ran tests and examples to ensure that everything was working as best I could. However, I would appreciate if you would give the changes a once-over and just verify that I haven't missed any broken behavior. Please note that I am developing on Windows and that I have very limited ability to test cross-platform. If you have a standard way of verifying these changes on Mac and Linux, please let me know if there is a way that I can help. Thank you!