Skip to content

Narrow terminals: fixed-width asset/metric panes squeeze the data pane #16

Open

Description

@planadecu

The asset and metric panes have fixed widths, so on narrow terminals the data pane gets what's left. At 24×90 that's 8 columns, and the chart becomes unreadable. In the data pane the parameter bar wraps mid-word ([v]char / t), and the status-bar help text wraps mid-word too (navig / ate).

Proposed fix: let the list panes shrink (min width plus ellipsis) below a breakpoint, or hide the middle pane. Shorten the parameter bar and status bar labels when space is tight.

Activity

  1. added
    bugSomething isn't working
    P2Important, schedule soon
    on Sep 29, 2026
  2. planadecu commented on Sep 29, 2026

    @planadecu
    CollaboratorAuthor

    More detail from the table-height fix (PR #13). At 24×90 the status-bar help text wraps to 2 lines, but the asset and metric lists are sized as termHeight − 8, which assumes a one-line status bar. So the lists overflow their pane by one row: the last item lands on the bottom border, and Ink squeezes a blank row under the header and into the status bar. The data pane itself is now measured and stays inside its border. Fix together with this issue: measure the lists' available height the same way (measureElement), or keep the status bar to one line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important, schedule soonbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions