-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working fix for #108 #173
base: master
Are you sure you want to change the base?
Working fix for #108 #173
Commits on May 27, 2023
-
Enable ReadWritePair for other platforms + Modify read
I enabled ReadWritePair for other platforms that are not unix by removing any `#[cfg(unix)]`. I also updated TermRead to be an Iterator over Keys and not bytes. This gurantees a cross platform read of keys because they differ between wasm, unix and windows.
Configuration menu - View commit details
-
Copy full SHA for bef88b5 - Browse repository at this point
Copy the full SHA bef88b5View commit details -
Moved various reading functions to TermTarget
Its better to have only one place that checks if the TermTarget is a ReadWritePair instead of having them everywhere in the code. As the way input is read is determined by the TermTarget it made sense to move it there. I still need to implement the functionality for a ReadWritePairSource though
Configuration menu - View commit details
-
Copy full SHA for e6f393d - Browse repository at this point
Copy the full SHA e6f393dView commit details -
Renamed fields of ReadWritePair and added utility function to convert…
… Keys into utf8 Renamed fields to clarify their new purpose. The utility function keys_to_utf8 will handle converting BackSpaces and Enter keys. Other functionality like arrow keys and delete may be implemented in the future
Configuration menu - View commit details
-
Copy full SHA for 04bf2fc - Browse repository at this point
Copy the full SHA 04bf2fcView commit details -
Added function to read a single key
Maybe the errors need to be changed? io::ErrorKind::ResourceBusy requires to add the: #![feature(io_error_more)] attribute
Configuration menu - View commit details
-
Copy full SHA for d4c0e27 - Browse repository at this point
Copy the full SHA d4c0e27View commit details -
Added functionality to read utf8 into a buffer without exceeding its …
…capacity and dropping long unicode chars This is required by the Read trait implementation
Configuration menu - View commit details
-
Copy full SHA for 451c27d - Browse repository at this point
Copy the full SHA 451c27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 596a142 - Browse repository at this point
Copy the full SHA 596a142View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9015353 - Browse repository at this point
Copy the full SHA 9015353View commit details