Skip to main content
← Back to list
01Issue
BugShippedSwamp CLI
Assigneesstack72

#377 Terminal rendering breaks at large font sizes

Opened by evrardjp · 5/19/2026· Shipped 5/19/2026

Description

Swamp's terminal UI does not render correctly when the terminal font size is increased. Layout elements overflow, wrap incorrectly, or become visually broken, making the output difficult or impossible to read.

Steps to Reproduce

  1. Open a terminal emulator and increase the font size (e.g. zoom to 20pt or larger, or use Ctrl+= several times).
  2. Run any swamp command that produces formatted output (e.g. swamp model list, swamp model get <name>).
  3. Observe that the output layout is broken — columns misalign, borders overflow, or content wraps unexpectedly.

Expected Behavior

Swamp should detect the current terminal dimensions and adapt its rendering to fit within the available columns, regardless of font size.

Actual Behavior

The TUI layout overflows or wraps incorrectly when the terminal font size is large. The issue appears to be related to terminal column/row detection not reacting to the reduced character-cell count that results from a larger font size.

Environment

  • Swamp version: 20260518.162558.0-sha.83d24155
  • OS: Linux 6.19.14-101.fc44.x86_64 (Fedora 44)
  • Shell: bash

Summary

This bug affects the terminal rendering/layout component. The fix would likely involve ensuring swamp re-queries terminal dimensions dynamically (e.g. via TIOCGWINSZ or the $COLUMNS/$LINES environment variables) and uses those values to constrain all output width calculations, rather than relying on a static or incorrectly cached terminal size.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

5/19/2026, 3:30:41 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack725/19/2026, 1:12:34 PM
Editable. Press Enter to edit.

evrardjp commented 5/19/2026, 3:41:15 PM

Thanks @stack72!

Sign in to post a ripple.