Skip to content

Session table columns overflow on terminals narrower than 84 columns #6

Description

@rajfirke

Problem

defaultColumns() in internal/panel/sessions.go defines 8 columns with fixed widths summing to at least 84 characters (69 fixed + min 15 for Project). On terminals narrower than ~84 columns, the rightmost columns (Cost, Context, Tool/min) are invisible or wrapped.

Suggested Fix

Options:

  1. Responsive columns: hide low-priority columns (Tool/min, Iters) when width < 80, hide Context when < 60
  2. Proportional widths: calculate all column widths as fractions of total width
  3. Horizontal scroll: enable table horizontal scrolling (if bubbles supports it)

Option 1 is simplest and matches how htop handles narrow terminals.

Files

  • internal/panel/sessions.go:67-78

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience improvementenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Fields

    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