Skip to content

Feature Request: Add option for newline spacing between pwd bar and prompt line #603

@jamesainslie

Description

@jamesainslie

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:

  1. Compact - No extra spacing (current behavior)
  2. Sparse - Newline before entire prompt (current behavior)
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions