reduce scrollback history to avoid potential memory issues