altosui: Eliminate inter-chunk flush_input calls