warpdotdev / warpdotdev/warp

Custom Two-Line Prompt Spacing Issue in Warp Terminal

Open
#5,159 2 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:shell-terminal enhancement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Note from Warp: please 👍 this post to indicate interest!

Dupe Check
Describe the solution you'd like?

Could the Warp team explore potential solutions to adjust the spacing between the custom prompt and the input line without affecting the overall line height? This adjustment would greatly improve the user experience for those using customized prompts.

Is your feature request related to a problem? Please describe.

Hello Warp Development Team,

First, I'd like to thank you for the recent update that added the "Same line prompt" feature. It's a great improvement!

I've encountered an issue when using a custom prompt with the two-line setting. While I've managed to configure it to display on two lines, the spacing between the custom prompt and the input line seems a bit tight compared to Warp's native two-line prompt.

I've tried adjusting the line height as suggested. Initially, I had it set to 1.3(see image1). Changing it to 1.8 did create the spacing I needed between the input field and the prompt. However, it also made my prompt look quite distorted(see image2), and it affected the line height of my output as well.

image3
image4

Current Behavior:
  • The spacing between the custom prompt and the input line is tighter than expected.
    Image 1
Expected Behavior:
  • Achieve a spacing similar to Warp's native two-line prompt setup.
    image
Additional context

Environment:

  • Warp version: v0.2024.07.16.08.02.stable_03
  • OS: macOS Sonoma 14.5
  • p10k version: v1.20.0-118-gbde5ca4
How important is this feature to you?

2

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified in the issue. First trace how custom two-line prompts and line-height settings are handled, then define a separate spacing control that matches the native prompt without distorting prompt or output line height.

Written by the indexing model from the issue text.

Assessment

Tech stack
zsh
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.