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

Extra redundant new line at end of render #85

Closed
aicioara opened this issue May 15, 2018 · 1 comment
Closed

Extra redundant new line at end of render #85

aicioara opened this issue May 15, 2018 · 1 comment

Comments

@aicioara
Copy link
Contributor

When rendering the app to the terminal, there is an extra redundant new line at end of render which is not occupied by anything. I could be doing something wrong, I am not quite sure.

To reproduce:

yo ink-cli
node cli.js

Expected:

$ node cli.js 
I love Ink

Actual: having an additional new line at the bottom of the terminal that is not being used

$ node cli.js 
I love Ink

@vadimdemedes
Copy link
Owner

You are right, it comes from log-update here: https://github.com/sindresorhus/log-update/blob/master/index.js#L34. It's needed, so that terminal prompt doesn't end up on the same line with your CLI output.

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