Jetlogan / termbox

Automatically exported from code.google.com/p/termbox
0 stars 0 forks source link

go SetCursor wan't work correct #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I played a little bit with the example.go
Look at the attached file.

The program should show the Text I write. It works when I don't use a Cursor 
(Line 55).
But if I use a Cursor, the Letters are always under the Cursor, but it should 
be 1 position before.

Now I added a counter to test the events. And with the Counter (line 53, 54), 
it work.

I really don't understand the Problem.

I use Linux (Ubuntu)

Original issue reported on code.google.com by t.mat...@gmail.com on 9 Sep 2010 at 11:37

Attachments:

GoogleCodeExporter commented 9 years ago
Uhm.. what version of the termbox are you using exactly? Recently I've fixed a 
bug that was related with the cursor too. The fix was in the commit b069d6d81.

And I wasn't able to reproduce your bug with and without counter.

Original comment by no.smile...@gmail.com on 9 Sep 2010 at 11:52

GoogleCodeExporter commented 9 years ago
Indeed, I've tried to compile your example with an old verion of the termbox 
(before commit b069d6d81), it has the issue you have described. So, please 
update the termbox to the latest git version and let me know if everything is 
ok and I'll close the issue.

Original comment by no.smile...@gmail.com on 9 Sep 2010 at 11:59

GoogleCodeExporter commented 9 years ago
Yes, it work with the new Version. Thanks a lot.

Original comment by t.mat...@gmail.com on 9 Sep 2010 at 12:32

GoogleCodeExporter commented 9 years ago
Closed

Original comment by no.smile...@gmail.com on 9 Sep 2010 at 12:35