parse_event now distinguishes between invalid and incomplete input
When parsing an event, if input is expected and not available,
parse_event will return an Error with ErrorKind WouldBlock.
All other error conditions are unaffected.
I'm making a telnet frontend for termion, and this distinction will let me parse in a non-blocking fashion.
Check out, review, and merge locally
Step 1.
Fetch and check out the branch for this merge request
-# All repo/branch refs have been quoted to allow support for special characters (such as #my-branch)
git fetch "https://gitlab.redox-os.org/stillinbeta/termion.git" "distinguish-partial-matches"
git checkout -b "stillinbeta/termion-distinguish-partial-matches" FETCH_HEAD
Step 2.
Review the changes locally
Step 3.
Merge the branch and fix any conflicts that come up