Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transient prompt uses different left segment end than interactive prompt #2376

Closed
prashantv opened this issue Jul 9, 2023 · 5 comments
Closed

Comments

@prashantv
Copy link

prashantv commented Jul 9, 2023

I'm setting typeset -g POWERLEVEL9K_LEFT_SEGMENT_END_SEPARATOR=':' so that my prompt ends with : (this is not the actual character I want to use, but it makes the repro clearer)

The interactive prompt uses the : correctly,

~
>:**CURSOR**

However, the transient prompt shows a blank space between the prompt and command instead of the expected :,

> echo hello
hello
> echo world
world
~
>:**CURSOR**

I'm not sure where the blank space is coming from. I've tried making the end separator blank (so I could put the character I want in the prompt character), but that also didn't work -- there's still a space between the prompt and command.

> echo hello
hello
> echo world
world
/Users/prashant
>**CURSOR**
@romkatv
Copy link
Owner

romkatv commented Jul 9, 2023

Thanks for the report. Fixed.

@prashantv
Copy link
Author

Thank you for such a fast fix!

@romkatv
Copy link
Owner

romkatv commented Jul 9, 2023

Have you tried it? Does it work for you?

@prashantv
Copy link
Author

prashantv commented Jul 9, 2023

Yes, tried it, and verified that it works as expected now, and separator is used in the transient prompts.

Thanks again!

@romkatv
Copy link
Owner

romkatv commented Jul 9, 2023

Thanks for verifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants