nsf / termbox-go

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

Why output is ahead of my command rather than after? #240

Open yeqown opened 2 years ago

yeqown commented 2 years ago

sample code: https://github.com/yeqown/go-qrcode/blob/main/example/use-tereminal-writer/main.go

I tried use termbox in my project, but after I run my example, I didn't see any thing after my command but find the output ahead of my command. like this:

image

Actually, I start a new session in iterm, ahead of my command should be nothing. So what cause this? help plz