Closed jeremyschlatter closed 9 years ago
Cool, thanks for the pointer.
I have build tools around https://github.com/GeertJohan/go.linenoise. Maybe this fits as well here.
After looking through several options I'm planning to go with https://github.com/peterh/liner. I've written the change and just need to finish up testing. Should be ready soon.
+1
Excited!
@jeremyschlatter I will recommend the library I'm working on: https://github.com/chzyer/readline ;) It works well on darwin/linux/windows, and bring us the zsh-style-readline user experience.
Haven't used this myself, but I think I saw it utilized to good effect in one of the web-login-via-ssh projects. It provides very readline-like functionality (special key handling, emacs-like key-bindings, command history and terminal control) in pure go:
https://github.com/kless/term/blob/master/readline/doc.go