perf(terminal): coalesce render and write bursts (#171)