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

New shell waits for the Enter key press before showing prompt #552

Open
durad opened this issue Dec 22, 2024 · 0 comments
Open

New shell waits for the Enter key press before showing prompt #552

durad opened this issue Dec 22, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@durad
Copy link

durad commented Dec 22, 2024

Describe the bug

When opening Fish shell with Tide inside certain applications (VS Code, ssh) shell hangs and waits for the Enter key press.

Steps to reproduce

  1. In VS Code

    • Instal Fish, setup Tide
    • Start VS Code
    • Open a new Fish terminal

    Expected:

    • New terminal with prompt shows up

    Actual:

    • There is a Fish greeting and no prompt until an Enter key is pressed
  2. With SSH

    • Instal Fish, setup Tide on a target machine
    • SSH to the machine

    Expected:

    • New terminal with prompt shows up

    Actual:

    • There is a Fish greeting and no prompt until an Enter key is pressed

Screenshots

If I open a new Fish shell in VS Code prompt wouldn't show until I press enter:

Screen.Recording.2024-12-21.at.9.17.33.PM.mov

When running an SSH to a machine with Fish and Tide same thing happens:

Screen.Recording.2024-12-21.at.9.24.07.PM.mov

I found a simple workaround to this issue - remove one of the parameters in tide configure ... like --show_time=No. This will cause an error message in a new shell but this can be fixed with tide configure ... > /dev/null:

Screen.Recording.2024-12-21.at.9.27.13.PM.mov

When SSH-ing into remote machine this workaround will also prevent clearing of terminal which I found useful:

Screen.Recording.2024-12-21.at.9.30.51.PM.mov

Environment

Output of tide bug-report:

fish version: 3.7.1
tide version: 6.1.1
term: xterm-256color
os: Mac OS Sequoia 15.1.1
terminal emulator: Hyper
fish startup: 
fisher plugins: ilancosman/tide@v6 edc/bass jorgebucaran/nvm.fish jethrokuan/fzf halostatue/fish-docker@v1.x

Additional context

  • Screen captures are showing Fish greeting as I tried to keep the config down to a minimum, but same happens when greeting is removed.

  • When using SSH to remote to a machine with Tide screen gets cleared. I'm not sure if this is by design, but since the same workaround of not including a tide parameter is fixing it (or breaking it), it is worth mentioning it. It would be great if the terminal is not cleared when SSH-ing to a different machine.

@durad durad added the 🐛 bug Something isn't working label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant