implement terminal output smoothing