Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tide prompt is broken on latest vscode terminal #433

Open
kaysond opened this issue Aug 17, 2023 · 5 comments
Open

tide prompt is broken on latest vscode terminal #433

kaysond opened this issue Aug 17, 2023 · 5 comments
Labels
❓ question This issue is a question

Comments

@kaysond
Copy link

kaysond commented Aug 17, 2023

I just updated vscode to the latest version, and now my prompt is broken.
image

It looks like there's a new-line after the left prompt is displayed, and the right prompt doesn't show up until after I type in a command and hit enter.

This doesn't happen on any of the other terminal emulators I use, so it's something vscode is doing, but I can't figure out what.

At the same time, if I switch back to the stock fish prompt, or even a fresh install of tide, things work as expected. So presumably it's some interaction with the settings I have, but I haven't been able to figure out what...

Any ideas how I could debug this?

@kaysond kaysond added the ❓ question This issue is a question label Aug 17, 2023
@kaysond
Copy link
Author

kaysond commented Sep 22, 2023

@IlanCosman - any suggestions on where to look?

@will-stone
Copy link
Contributor

I'm guessing this is related: in VSCode terminal, you get a circle next to each prompt and the status is put on the previous command. At first I thought this was a feature, until you get a long output that pushes the previous command off the top of the screen, then you realise that knowing the status on the current/waiting prompt is valuable. Also, I tried my Tide setup in Kitty, iTerm, Alacritty, WezTerm too, and they all show without this circle, as you'd expect. So does seem like something VScode are doing here...

CleanShot 2023-11-17 at 11 18 08@2x
tide configure --auto \
  --style=Lean \
  --prompt_colors='16 colors' \
  --show_time=No \
  --lean_prompt_height='Two lines' \
  --prompt_connection=Solid \
  --prompt_spacing=Sparse \
  --icons='Few icons' \
  --transient=No
VSCode Version: 1.84.2
macOS: 13.6

@kaysond
Copy link
Author

kaysond commented Nov 17, 2023

Looks like the issue comes from this setting. Turning shell integration off fixes it for me
image

@will-stone
Copy link
Contributor

@kaysond that fixed my issue, thanks!

@brentleyjones
Copy link

I needed to disable that feature to get status and/or character to behave correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants