- trim the output content based on the configuration value
  "maxScrollbackLines"
- remove related TODO