[PR #13513] feat: add tui.no_terminal_padding_x config option #14699

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

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

State: open
Merged: No


Adds a new configuration option tui.no_terminal_padding_x that removes horizontal padding in the terminal interface.

Changes

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

Problem Addressed

Users need more horizontal space in the TUI, especially on smaller terminals or when working with wide content. This option allows removal of left/right padding to maximize content width.

Testing

  • With config enabled: paddingLeft: 0, paddingRight: 0
  • With config disabled (default): paddingLeft: 2, paddingRight: 2

Fixes #12948

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13513 **State:** open **Merged:** No --- Adds a new configuration option `tui.no_terminal_padding_x` that removes horizontal padding in the terminal interface. ## Changes - Added `no_terminal_padding_x` boolean option to TUI config schema - Implemented conditional horizontal padding in session view (0 when enabled, 2 when disabled) - Updated SDK types to include the new config field ## Problem Addressed Users need more horizontal space in the TUI, especially on smaller terminals or when working with wide content. This option allows removal of left/right padding to maximize content width. ## Testing - With config enabled: `paddingLeft: 0, paddingRight: 0` - With config disabled (default): `paddingLeft: 2, paddingRight: 2` Fixes #12948
yindo added the pull-request label 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#14699