nsf / termbox-go

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

Init wrong size on Win7 cmd (non-English windows) #183

Closed zsimple closed 3 years ago

zsimple commented 6 years ago

I found the pull #168 Init a wrong buffer size on Win7 cmd (non-English windows).

When starting a termbox-go program, buffer size is too large for default cmd window. image The buffer size shows: image

Below it the result use older version termbox-go, which looks prety good. image

nsf commented 6 years ago

Well, if you can fix it that'd be nice. Also there are similar libraries which claim to be better, have a look: https://github.com/gdamore/tcell

zsimple commented 6 years ago

tcell looks wonderful, I played and found it doesnt works perfectly on my cmd either...

In fact I don't need display unicode character, so I decided to use termbox-go again, wih the old version(Sorry I don't have enough knowledge to fixed this issue now).