Thibaut Colar

Results 25 comments of Thibaut Colar

This fixed it for me: https://github.com/tcolar/termbox-go/commit/7744ff972d3369ebfa485a30eac1779176057059 But I' working off an old fork of termbox-go so it seems that code has changed a lot since. Let me try to see...

The bug does happen in master too, will try to fix it there and provide a PR

This worked on master, same idea of keeping existing (partial) input data, and defering event parsing until more data is available. ``` termbox.go 454,456c454,456 < if n, ok := parse_escape_sequence(event,...

Actually for the new code that might not work well, in the old code I would only do that if `strings.HasPrefix(bufstr, "\033[

Unless you can force the os/terminal to **not** send partial events (didn't find a way to do this so far), I'm not sure what else you could do. I have...