Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with use of current history #11

Open
filhodanuvem opened this issue Apr 25, 2014 · 0 comments
Open

Problem with use of current history #11

filhodanuvem opened this issue Apr 25, 2014 · 0 comments

Comments

@filhodanuvem
Copy link

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 works.
  2. I type up to use the last command.
  3. I try edit that command but it's impossible, aparently, I can't increase that string.
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/nemith/goline.(*GoLine).InsertRune(0x1835d140, 0x20)
    /home/cloud/sources/goworkspace/src/github.com/nemith/goline/goline.go:112 +0x64
github.com/nemith/goline.(*GoLine).Line(0x1835d140, 0x0, 0x0, 0x0, 0x0, ...)
    /home/cloud/sources/goworkspace/src/github.com/nemith/goline/goline.go:196 +0x2be
main.main()
    /home/cloud/sources/goworkspace/src/github.com/cloudson/gitql/gitql.go:30 +0x12a

goroutine 2 [syscall]:

With some time, I could try fix it and send a PR, but for now, I'm just reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant