Skip to content

Async git status blocks keyboard input on WSL #643

@LeonRein

Description

@LeonRein

Describe the bug

While git status is loading asynchronously in the background, not all keystrokes are being registered. This makes the shell virtually unusable during that time. As soon as the git status is displayed, everything runs smoothly again.

I'm using Tide under WSL, which is why the git status takes quite a while anyway (about 5 seconds). However, that is exactly what asynchronous loading is supposed to handle.

When I use pure-fish/pure with acomagu/fish-async-prompt for the git prompt, for example, everything remains fluid and responsive the entire time."

Steps to reproduce

Hard to say. Use WSL2 and cd into a large git repo under /mnt/c.

Environment

fish version: 4.5.0
tide version: 6.2.0
term: xterm-256color
os: Archlinux in WSL2
terminal emulator: Windows Terminal
fish startup: 10.16 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v6
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions