You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stdin is a raw input stream, the implementation of line editing through arrow keys or other control characters is left to applications/libraries.
Closing as working as intended.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Go version
go version go1.23.0 linux/amd64
Output of
go env
in your module/workspace:What did you do?
main.go:
Keystrokes: Hello, world!← and mars
What did you see happen?
The arrow key is displayed as its code (^[[D) and deletes a character.
What did you expect to see?
The arrow key acts as it normally does (moving a character back and displaying it as such).
The text was updated successfully, but these errors were encountered: