Skip to content

Feature Request: Configurable line limit for bash output display before expansion required #10636

@prestonbrown

Description

@prestonbrown

Feature Request

Problem

Currently, bash command outputs are collapsed after a certain number of lines (appears to be around 10-15 lines), requiring the user to press ctrl+o to expand and see the full output. For users who frequently run commands with moderate output (20-50 lines), this requires constant expansion interactions.

Requested Feature

Add a configurable setting to control the initial number of lines displayed for bash command outputs before requiring manual expansion.

Proposed Setting

{
  "env": {
    "BASH_INITIAL_DISPLAY_LINES": "40"
  }
}

Or as a top-level setting:

{
  "bashOutputDisplayLines": 40
}

Use Case

  • Developers working with build outputs, test results, or file listings that regularly exceed the current default
  • Reduces friction in interactive sessions where moderate-length outputs are common
  • Allows users to balance between compact display and reduced expansion interactions

Current Workaround

None apparent - BASH_MAX_OUTPUT_LENGTH controls character-based truncation, not initial line display

Related

This is separate from BASH_MAX_OUTPUT_LENGTH, which controls character-based middle-truncation for very long outputs. This request is specifically about the UI pagination feature that initially collapses outputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions