nsf / termbox-go

Pure Go termbox implementation
http://godoc.org/github.com/nsf/termbox-go
MIT License
4.66k stars 372 forks source link

Wine panics ("Invalid handle") #222

Open xxxserxxx opened 4 years ago

xxxserxxx commented 4 years ago

I get an Invalid handle panic during Init() when it calls clear() on Wine. There are several issues filed that look similar, but which occur in different places. This may be specific to Wine.

The closest issue appears to be #125, although the work-around in that ticket uses hiding the cursor, and Init() hides the cursor before calling clear() so it may be unrelated.

199 is a panic on Close(); #217 is far past Init(); #174 indicates that termbox-go uses the native Windows API, which might point to the issue when running under Wine.