Skip to content
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

[Bug] When moving the cursor in the aarch-64 environment, unexpected characters will be printed out of the command line #223

Open
hcbb199 opened this issue Mar 2, 2021 · 2 comments · May be fixed by #254
Labels

Comments

@hcbb199
Copy link

hcbb199 commented Mar 2, 2021

I used the v0.2.5 version of go-prompt in my project. Moving the cursor in the aarch-64 environment will cause unexpected characters to be printed out of the command line being entered. For example, the ← key will print "?[D" on the command line, and the → key may print "?[C". Is there a way to fix this problem? Looking forward to your reply, thank you very much.

@hcbb199 hcbb199 added the bug label Mar 2, 2021
@hcbb199 hcbb199 changed the title [Bug]When moving the cursor in the aarch-64 environment, unexpected characters will be printed out of the command line [Bug] When moving the cursor in the aarch-64 environment, unexpected characters will be printed out of the command line Apr 25, 2021
@lpxxn
Copy link

lpxxn commented May 18, 2021

on mac terminal,press command+→or command+←
print ?[1;9C ?[1;9D

@7yyo
Copy link

7yyo commented Dec 8, 2021

I also encountered this problem

@liunannan01 liunannan01 linked a pull request Mar 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants