Initial release (Closes: #1105841)
See commits for details.
This supersedes #1, which was based on latest release 1.4. Turns out the version must be the latest git master, otherwise the usql build that depends on this package will fail on:
# github.com/xo/usql/rline
src/github.com/xo/usql/rline/rline.go:128:16: l.Inst.Config.Output undefined (type *readline.Config has no field or method Output)
src/github.com/xo/usql/rline/rline.go:167:20: undefined: readline.NewCancelableStdin
src/github.com/xo/usql/rline/rline.go:174:3: unknown field HistorySearchFold in struct literal of type readline.Config
src/github.com/xo/usql/rline/rline.go:181:3: unknown field FuncFilterInputRune in struct literal of type readline.Config