Open maxomatic458 opened 7 months ago
i noticed this when using the starship prompt with nushell that has a similar config to this:
$env.PROMPT_INDICATOR = "" $env.PROMPT_COMMAND = {|| ( echo "test\n>" )}
(the rest of my config is pretty much default)
now, when i open nushell and i press any key, the prompt will be rendered again
a very weird thing i noticed with windows terminal is that i can create a new tab, and then this will not happen (see clip).
the prompt should not be redrawn
https://github.com/nushell/nushell/assets/104733404/1dc2f73d-2986-4db4-b87d-7a166e95764a
No response
it would be great to fix this double render.
I have the same issue.
Describe the bug
i noticed this when using the starship prompt with nushell that has a similar config to this:
(the rest of my config is pretty much default)
now, when i open nushell and i press any key, the prompt will be rendered again
a very weird thing i noticed with windows terminal is that i can create a new tab, and then this will not happen (see clip).
How to reproduce
Expected behavior
the prompt should not be redrawn
Screenshots
https://github.com/nushell/nushell/assets/104733404/1dc2f73d-2986-4db4-b87d-7a166e95764a
Configuration
Additional context
No response