peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

preserve trailing spaces in input, necessary for correct parsing of #66

Closed glycerine closed 8 years ago

glycerine commented 8 years ago

multiline input.

peterh commented 8 years ago

Good catch. Thanks for the pull request.

git bisect is important. Could you please squash your commits?

For the future, I recommend https://godoc.org/golang.org/x/tools/cmd/goimports

glycerine commented 8 years ago

Sadly goimports has becomes unusable on OSX, due to 10 second pauses upon save. Very regretable.

Squashed.

peterh commented 8 years ago

Pulled. Thanks!