gosuri / uilive

uilive is a go library for updating terminal output in realtime
MIT License
1.7k stars 87 forks source link

Writer.Flush: properly compute line count for buffers longer than 2 lines #33

Open fkaleo opened 4 years ago

fkaleo commented 4 years ago

Fix #32

Dieterbe commented 4 years ago

Hello @gosuri , thanks for this nice library. What do you think of this PR? It fixes a bug for me and seems to work well to me. thanks.

Adaendra commented 1 year ago

Hi @fkaleo To let you know, I've made a fork of this project as it hasn't been updated for years. Here is the link : https://github.com/Adaendra/uilive/tree/master In the latest version by my side, I've included your MR.