reduce writes to exactly the bytes necessary
The vt100 crate has this function which sounds like it does what we need here. The problem is that it works directly on the byte buffers, which won't work for us because crossterm/Windows.
The vt100 crate has this function which sounds like it does what we need here. The problem is that it works directly on the byte buffers, which won't work for us because crossterm/Windows.