-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem with readline
module when handing history navigation using up-arrow key
#12
Comments
It seems like the multi-line feature is still causing problems. I know that you are used to it by now, but I seriously think that a proper terminal editor is a much cleaner solution. Perhaps we could even allow for a command like I think supporting both is also no problem, but if the implementation is causing even more problems I don't know if it's worth it. |
I thought as you have said, but the multi-line handling was actually not directly provided by Lines 114 to 124 in 19abe79
The Currently, if we simply remove it as I did in 0f13332, the prompt provide by the tool will not work properly because there is a feature provided by the Python built-in Additionally, I think the suggestion of using the abbreviation |
I can see your point. Leaving it in as is is probably best. |
Initially, I encountered an unknown problem with the
readline
module, which compelled me to remove its usage in #11. Unfortunately, this brought about a new problem - poor handling of inputs such as cursor movements using left and right arrow keys. Therefore, I had to revert back to the use of thereadline
module provided by thepyreadline3
package, which is compatible with both Linux and Windows.I removed the usage in this commit 0f13332, which seemed to be a wrong decision.
I open this issue to track the problem with using the
readline
module. Although I cannot recall the exact details of the issue, I will monitor my daily usage for a week, and close this issue if no further problems arise.The text was updated successfully, but these errors were encountered: