reedline icon indicating copy to clipboard operation
reedline copied to clipboard

PROMPT_INDICATOR doesn't show up properly

Open fdncred opened this issue 1 year ago • 2 comments

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)

image

After (Note: The indicator has disappeared)

image

After After (Note: You can see that I typed ls and did not hit enter. So, the indicator is just eaten somehow)

image

fdncred avatar Feb 13 '24 14:02 fdncred

@fdncred isn't this the same as #707?

maxomatic458 avatar Feb 13 '24 15:02 maxomatic458

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. 😆

fdncred avatar Feb 13 '24 15:02 fdncred