IlanCosman/tide

Weird behaviour when using fish with tide prompt in Intellij Idea

clutwo opened this issue · 5 comments

Describe the bug

When using fish with tide prompt in intellij idea terminal, every keystroke forces a new line, resulting in text all over the place.
See the attached video.

Fish shell works normally without any custom prompt as well as with starship. As soon as tide prompt is installed, this starts happening.

I have tried each checkbox set and unset in Intellij terminal settings, the result is always the same.

Steps to reproduce

Install fish.
Install tide prompt.
Set terminal to fish in Intellij Settings.

Screenshots

Screencast_20240306_104617.webm

Environment

Output of tide bug-report:

fish version: 3.7.0
tide version: 6.1.1
term: xterm-256color
os: Manjaro / KDE
terminal emulator: Intellij
fish startup: 37.63 millis
fisher plugins: patrickf1/fzf.fish jorgebucaran/autopair.fish joseluisq/gitnow kidonng/zoxide.fish gazorby/fish-exa ilancosman/tide@v6

Intellij: 2023.3.4 (also happens in 2024.4.1 EAP)

Additional context

Not sure

I have the same issue with Python version and PyCharm, WebStorm. This problem disappears if I modify sources and delete the part that prints Python version.

fish version: 3.7.0
tide version: 6.1.1
term: xterm-256color
os: Fedora 39
terminal emulator: 
fish startup: 37.07 millis
fisher plugins: jorgebucaran/fisher franciscolourenco/done jethrokuan/z ilancosman/tide@v6 joseluisq/gitnow

Same issue with WebStorm on MacOS:

fish version: 3.7.0
tide version: 6.1.1
term: xterm-256color
os: macOS Monterey 12.7.2
terminal emulator: IntelliJ Idea IDE family inbuilt
fish startup: 40.58 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v6 jorgebucaran/nvm.fish

Probably a dupe of #476

Probably a dupe of #476

Indeed, didn't think to search for other Jetbrains products besides IDEA before posting.

So after some testing, in my case "kubectl" seems to be the culprit. When removed, it works perfectly fine.