goline icon indicating copy to clipboard operation
goline copied to clipboard

A simple readline facility for Go. Based on the C library Linenoise

Results 10 goline issues
Sort by recently updated
recently updated
newest added

C:\Users\hugo>go get github.com/nemith/goline c:\users\hugo\go\src\github.com\nemith\goline\terminal.go:89: undefined: syscall.Termios

enhancement

Curses have: KEY_UP KEY_DOWN KEY_LEFT KEY_RIGHT Really good alternative to readline, BTW. I'll use it all the time.

Hi! I'm trying use this awesome tool in my project, but I found a problem with a simple usage. 1) I write something like "select \* from tags [enter]", it...

Need a way to save and load history. Should use os.Reader and os.Writer as well as convenience functions to load and save from a file.

enhancement

If you type a line longer than the terminal then goline will fail to redraw the line properly. Should support multiple line input, or truncated command line (selectable). Need to...

bug

If a prompt has multiple lines then the new lines a redrawin with every update. [edit] [edit]> [edit]prompt> t [edit]prompt> t [edit]prompt> te [edit]prompt> te [edit]prompt> tes [edit]prompt> tes [edit]prompt>...

bug

Linenoise supports it. Should be toggleable from an existing GoLline object.

wishlist

I think coverage right now is 0%. That is bad.

enhancement