Closed suhr closed 9 years ago
Can you give a little more info on how to reproduce this? I'm able to insert text in Linux without issue. Also what version of rustc?
rustc 1.0.0-dev (b6d91a2bd 2015-02-15 07:53:07 +0000)
Can you give a little more info on how to reproduce this?
- Run iota
- Press any key
Appears on a release version, a debug one works fine.
@suhr, ok, I'm seeing the problem now with the release version. Will look into it!
So this was caused from an update to termbox
which added two extra fields to its event
struct. rustbox
uses a wrapper around the termbox
API called termbox-sys
which has a struct called RawEvent
which is a mapping to the termbox event
struct. RawEvent
was missing the two new fields which were added to termbox, and it seems like adding them has fixed this.
Not sure why this was only showing in release builds, though.
Let me know if this has resolved it for you!
Yes, this have fixed an issue.
OS: Linux x86_64
Looks like it's caused by
termbox::tb_poll_event()
call inRustBox::poll_event()
method (craterustbox
), but I have no idea why.