[PR #13510] feat: add tui.no_terminal_padding_y config option #14698

Closed
opened 2026-02-16 18:19:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13510

State: closed
Merged: No


Adds a new configuration option tui.no_terminal_padding_y that removes vertical padding in the terminal interface.

Changes

  • Added no_terminal_padding_y boolean option to TUI config schema
  • Implemented conditional vertical padding in session view (0 when enabled, 1 when disabled)
  • Updated SDK types to include the new config field

Problem Addressed

Users on smaller screens (laptops, phones) lose significant vertical space to padding. This option allows removal of top/bottom padding to maximize content visibility.

Testing

  • All CI checks should pass (typecheck, unit tests, check-standards)
  • With config enabled: paddingTop: 0, paddingBottom: 0
  • With config disabled (default): paddingTop: 1, paddingBottom: 1

Fixes #9955

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13510 **State:** closed **Merged:** No --- Adds a new configuration option `tui.no_terminal_padding_y` that removes vertical padding in the terminal interface. ## Changes - Added `no_terminal_padding_y` boolean option to TUI config schema - Implemented conditional vertical padding in session view (0 when enabled, 1 when disabled) - Updated SDK types to include the new config field ## Problem Addressed Users on smaller screens (laptops, phones) lose significant vertical space to padding. This option allows removal of top/bottom padding to maximize content visibility. ## Testing - All CI checks should pass (typecheck, unit tests, check-standards) - With config enabled: `paddingTop: 0, paddingBottom: 0` - With config disabled (default): `paddingTop: 1, paddingBottom: 1` Fixes #9955
yindo added the pull-request label 2026-02-16 18:19:28 -05:00
yindo closed this issue 2026-02-16 18:19:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14698