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

printing string without newline #1473

Closed
hpcsc opened this issue Sep 22, 2017 · 3 comments
Closed

printing string without newline #1473

hpcsc opened this issue Sep 22, 2017 · 3 comments

Comments

@hpcsc
Copy link

hpcsc commented Sep 22, 2017

Description

prezto doesn't print out string without newline character, even with setopt no_prompt_cr on
In bash or in zsh without prezto installed, when I type echo -n "some message", I'll see the message printed out on the same line with next prompt like this:

screen shot 2017-09-22 at 3 51 13 pm

Expected behavior

I expect zsh to behave the same, at least when setopt no_prompt_cr is on

Actual behavior

It doesn't print out anything:

screen shot 2017-09-22 at 3 53 37 pm

Steps to Reproduce

  1. execute echo -n "some message"

Versions

  • Prezto commit: 4f19700
  • ZSH version: zsh 5.4.1 (x86_64-apple-darwin16.7.0)
  • OS information: MacOS Sierra
@hpcsc
Copy link
Author

hpcsc commented Sep 22, 2017

sorry, seem like it's already fixed in latest version
I updated to latest prezto and it's working now

@hpcsc hpcsc closed this as completed Sep 22, 2017
@belak
Copy link
Collaborator

belak commented Sep 22, 2017

Not a problem! I honestly feel like this is a regression in zsh, but we worked around it here. :) Glad you figured it out.

@ysoftman
Copy link

I had the same problem, and i resolved it.
Thank you~ 😄

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

3 participants