-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Starship - Prompt is mangled #1005
Copy link
Copy link
Closed
Description
Describe the bug
When using nu compiled with starship prompt support, the prompt appears mangled. See screenshot.
%{%}~%{%}
%{%}->%{%} cd aur-build/nushell/
%{%}nushell%{%} on %{%} %{%}%{%}master%{%} is %{%}📦 %{%}%{%}v0.5.1%{%} via %{%}🦀 %{%}%{%}v1.39.0%{%}
%{%}->%{%}
The syntax highlighting appears to work though.
To Reproduce
Steps to reproduce the behavior:
cargo install --path . --features starship-prompt --forcenu
The problem appears with both alacritty and kitty. It occurs when nu is started from zsh or bash.
Expected behavior
The prompt should appear as normal.
Screenshots
Configuration
- OS: Arch Linux
- Version Kernel 5.3.12
- Rust:
# cargo --version && rustc --version
cargo 1.39.0 (1c6ec66d5 2019-09-30)
rustc 1.39.0 (4560ea788 2019-11-04)- Terminal: Kitty v0.14.6 or Alacritty fork v0.3.3
- Optional features:
starship-prompt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
