-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added rustyline support for arrow keys + more #151
Conversation
wow thank you for the quick action! I will take a look later (Friday night ~ late night KST 🙇 ) |
Sorry. Today was busy day. Let me review this until tomorrow mid afternoon 🙇 |
[Update] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the work! I left some nit comments.
Thank you @TheRustyPickle |
Thank you, @24seconds. Just wanted to confirm this for point 1. If I remove |
Yes, please remove. Btw, can we write a test case for newly introduced code @TheRustyPickle ? |
Yes, sure. Will work on this as well. |
Hello @24seconds, I couldn't figure out how to add tests for the rustyline code part. Also check the issue here about it. Hope the rest of the code is alright. Thanks for your time! |
Got it. Let me take a look today! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you so much for the work! I enjoyed new feature. Thank you!
Thank you @TheRustyPickle !! Because of your recent contributions |
I will update pakcage version in cargo and write release note on Sunday |
Thank you for being so cooperative and understanding throughout the process, @24seconds! 🙏 |
What was added
Changed
rustyline
currently handles all input events instead of the previousstdin
Up for feedback
spawn_stdinput_handler
andread_input
line_handling.rs
orline_handler
to something more concise?history
. Suggestion for a concrete fixed path?rustyline
can potentially support autocompletion similar to a shell (still unsure how). Create another issue for it?Related issues: #20 #142. Looking forward to hearing your thoughts, @24seconds! Also, let me know if I can improve the pr message in some way so you can understand more easily.