reedline
reedline copied to clipboard
PROMPT_INDICATOR doesn't show up properly
Platform Windows 10, MacOS, maybe others Terminal software Windows Terminal, Ghostty, maybe others
Describe the problem you are observing.
When you set the PROMPT_INDOCATOR like this $env.PROMPT_INDICATOR = {|| "\n❯ " } the indicator doesn't show up. This was found testing this PR in nushell https://github.com/nushell/nushell/pull/11494
Before (Note: The indicator is on the 2nd line)
After (Note: The indicator has disappeared)
After After (Note: You can see that I typed ls and did not hit enter. So, the indicator is just eaten somehow)
@fdncred isn't this the same as #707?
Yup. I'm gonna leave it. I thought there was an issue but couldn't find it because I was searching for PROMPT_INDICATOR. Now we have 2 issues that'll close on one fix. 😆