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

Duplicates the first character of the title if there are more than one line #16

Open
mattstauffer opened this issue Sep 9, 2020 · 2 comments

Comments

@mattstauffer
Copy link

I'm not sure if I'm just using it wrong, but I want a line before my task.. I know I could just do a line myself, but I'm just curious whether this is intended or accidental behavior.

If I don't add a line break:
image
image

If I add a line break:
image
image

If I add a character before the line break:
image
image

@mattstauffer
Copy link
Author

Added context: The [OUT] lines are generated within the function being called (removeContainer), not before this command.

@owenvoke
Copy link
Collaborator

owenvoke commented Sep 9, 2020

I'm assuming this is related to these lines which remove the title line so that it can be replaced with the output.

If there's more than 1 line (due to the linebreak) it will just remove the last line and then print the output status underneath. 🤔

We could probably use an "output section" for this, then you can just run $titleSection->overwrite('new content') 🤷🏻 Eh, can't see a way to access the underlying ConsoleOutput instance, and section() on an Illuminate Console instance is something different. 😬

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