tide icon indicating copy to clipboard operation
tide copied to clipboard

Weird behaviour when using fish with tide prompt in Intellij Idea

Open clutwo opened this issue 2 years ago • 7 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

clutwo avatar Mar 06 '24 09:03 clutwo

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

PerchunPak avatar Mar 10 '24 13:03 PerchunPak

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

jimkoen avatar Mar 11 '24 21:03 jimkoen

Probably a dupe of https://github.com/IlanCosman/tide/issues/476

PaarthShah avatar Mar 12 '24 07:03 PaarthShah

Probably a dupe of #476

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

clutwo avatar Mar 14 '24 10:03 clutwo

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

clutwo avatar Mar 14 '24 16:03 clutwo