IlanCosman/tide

Prompt sometimes not rendering when starting shell in WSL

jaminthorns opened this issue · 1 comments

Describe the bug

When opening a new terminal window or tab, the prompt will oftentimes not be initially rendered. Upon hitting Enter, the prompt will be rendered on the same line.

Steps to reproduce

  1. Open a new terminal window or tab (tested in WezTerm, Windows Terminal, VS Code integrated terminal)
  2. Tide's prompt does not render

Screenshots

  • Prompt not rendered upon opening terminal

    Screenshot 2023-08-28 214227

  • Still accepts input like normal

    Screenshot 2023-08-28 214219

  • Prompt rendered when hitting Enter

    Screenshot 2023-08-28 214233

Environment

Output of tide bug-report:

fish version: 3.6.1
tide version: 5.6.0
term: xterm-256color
os: WSL Ubuntu 20.04
terminal emulator: WezTerm
fish startup: 3.86 millis
fisher plugins: decors/fish-colored-man dracula/fish jorgebucaran/autopair.fish jorgebucaran/fisher
marcransome/pond patrickf1/fzf.fish ilancosman/tide@v5

Windows Version: 10.0.22621 Build 22621

Additional context

I recently upgraded from Windows 10 to Windows 11, and I think that's when I noticed the issue. This issue does not occur with the default prompt, only with Tide installed.