natecraddock / zf

a commandline fuzzy finder and zig package designed for filtering filepaths
MIT License
451 stars 14 forks source link

Buffer writing to stdout #42

Closed natecraddock closed 1 year ago

natecraddock commented 1 year ago

I previously fixed a lot of flicker in the UI https://github.com/natecraddock/zf/issues/6 by using a buffered writer. But in a lot of the terminal drawing codepaths I simply bypass the buffer. This is unintentional, I misunderstood the BufferredWriter interface.

So I'm planning on removing the BufferedWriter and doing my own implementation that is more closely tied to the Terminal struct