go-prompt icon indicating copy to clipboard operation
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

Open hcbb199 opened this issue 4 years ago • 2 comments

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 avatar Mar 02 '21 03:03 hcbb199

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

lpxxn avatar May 18 '21 05:05 lpxxn

I also encountered this problem

7yyo avatar Dec 08 '21 07:12 7yyo