Skip to content

Conversation

@PetrNovota
Copy link
Collaborator

Console output text did not show properly for lines 230, 231

Console output text did not show properly for lines 230, 231
@themarpe
Copy link
Collaborator

themarpe commented Jan 18, 2023

@PetrNovota #732

I doubt that this $'text' is standard. Do you mind crosschecking this one?

@PetrNovota
Copy link
Collaborator Author

I tested it on ubuntu 22.04,

  • echo '\ntext'
    \ntext

  • echo $'\ntext'
    newline
    text

on macos it creates newline in both cases. On linux only when using $

@PetrNovota
Copy link
Collaborator Author

I found other way to do it. using echo -e '\nSome text' works as well and is probably the solution we are looking for

Copy link
Collaborator

@themarpe themarpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found other way to do it. using echo -e '\nSome text' works as well and is probably the solution we are looking for

I see what you meant, yup this looks like it'll fly. Thanks!

@themarpe themarpe merged commit 2025ce1 into luxonis:main Jan 19, 2023
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

Successfully merging this pull request may close these issues.

2 participants