Problem
The TUI input area height is hardcoded to a maximum of 8 visual lines:
return min(max(visual_lines, 1), 8) # cli.py:8423
This makes long prompts feel cramped — users can't see enough of their text at once, especially when working with multi-paragraph prompts or when paste collapse is disabled.
Solution
Add a config option display.input_max_height (default: 8) that controls the max visual lines for the input area.
# cli.py
def _input_height():
...
return min(max(visual_lines, 1), CLI_CONFIG.get('display', {}).get('input_max_height', 8))
Config
| Key |
Default |
Range |
Purpose |
display.input_max_height |
8 |
1–50 |
Max visual lines for the input area |
Notes
- The input area still grows dynamically with content, just with a configurable ceiling
- A reasonable max of 50 prevents the input from consuming the entire terminal
- Minimum of 1 ensures the input is always visible
Problem
The TUI input area height is hardcoded to a maximum of 8 visual lines:
This makes long prompts feel cramped — users can't see enough of their text at once, especially when working with multi-paragraph prompts or when paste collapse is disabled.
Solution
Add a config option
display.input_max_height(default: 8) that controls the max visual lines for the input area.Config
display.input_max_heightNotes