aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 46 forks source link

Write to stdout in chunks to prevent artifacts (and remove legacy code) #98

Closed aaronjanse closed 3 years ago

aaronjanse commented 3 years ago

Some terminals (e.g. Alacritty) truncate stdout that's too long. 3mux thought text was being rendered when it was not, causing things to go out-of-sync. This commit fixes many artifacts, previously common when clearing the entire screen.

This also removes some legacy code.