-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Summary
Request for a new configuration option to add extra spacing between the pwd bar and the prompt line in two-line prompts.
Problem
Currently, in two-line prompts, the pwd bar and prompt line are displayed with no vertical spacing between them. This can make the prompt feel cramped, especially in dense terminal environments or when working with long directory paths.
Proposed Solution
Add a new configuration variable `tide_prompt_add_newline_after_pwd` that allows users to insert an additional newline between the pwd bar and the prompt line.
Expected Behavior
- Default: `tide_prompt_add_newline_after_pwd = false` (maintains current behavior)
- When enabled: `tide_prompt_add_newline_after_pwd = true` adds visual separation
Use Cases
- Users who prefer more visual separation in their prompts
- Improved readability in terminals with many prompt elements
- Better visual hierarchy between path information and command input
Configuration Options
The feature should integrate with the existing prompt spacing configuration:
- Compact - No extra spacing (current behavior)
- Sparse - Newline before entire prompt (current behavior)
- Extra Sparse - Newline before prompt AND between pwd/prompt lines (new option)
Implementation Notes
- Should only affect two-line prompts (when `newline` is in `tide_left_prompt_items`)
- Must maintain backward compatibility
- Should work with all prompt styles (lean, classic, rainbow)
Related
This addresses user requests for more customizable prompt spacing options.
Metadata
Metadata
Assignees
Labels
No labels