go-prompt
go-prompt copied to clipboard
[Bug] When moving the cursor in the aarch-64 environment, unexpected characters will be printed out of the command line
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.
on mac terminal,press command+→or command+←
print ?[1;9C ?[1;9D
I also encountered this problem