š» Software
How can I put a newline in my zsh prompt without causing terminal redraw issues?
Fresh5 days ago
Mar 15, 202643339 viewsConfidence Score0%
0%
Problem
I'm trying to fix a minor (but annoying) issue with my zsh prompt. The problem I'm seeing is that when I'm using a terminal in a GUI OS environment (for example, Terminal.app or iTerm 2 on OS X 10.7.2) and resize the terminal window, the terminal is redrawn with extra prompts. I've reproduced the iā¦
Error Output
export PROMPT="> "
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix ā Awaiting Verification
Fix for: How can I put a newline in my zsh prompt without causing terminal redraw issues?
Low Risk
How about something like this:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix