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

Shells with newlines have the newlines removed #3

Closed
anna-is-cute opened this issue Jun 6, 2016 · 5 comments
Closed

Shells with newlines have the newlines removed #3

anna-is-cute opened this issue Jun 6, 2016 · 5 comments

Comments

@anna-is-cute
Copy link

See this for a demonstration.

@Valiev
Copy link
Owner

Valiev commented Jun 6, 2016

It took 4 times to watch this demo before I got it. 😄
Not sure I could handle it in a prompt manner. @jkcclemens, do you have any ideas on the fix?

@Valiev
Copy link
Owner

Valiev commented Jun 6, 2016

BTW, @jkcclemens could you please share you theme, so I play around with it?

@anna-is-cute
Copy link
Author

anna-is-cute commented Jun 6, 2016

echo appears to be doing funny things with newlines.

Based on my testing, I'm fairly certain you can change this line to print -P "$prompt$fg[$ALMOSTONTOP_COLOR]${(z)1}$reset_color" and fix the issue while not affecting anything else.

I would test to make sure it still works as expected in your shell, as well.

Valiev pushed a commit that referenced this issue Jun 7, 2016
@Valiev
Copy link
Owner

Valiev commented Jun 7, 2016

@jkcclemens I've tested suggested changes. Seems like it's okay, so I've updated source code and pushed the changes. Thanks for involvement, @jkcclemens !

@anna-is-cute
Copy link
Author

Confirmed working in my shell. Thanks!

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