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

Broken newlines '\n' with v2.7.0: 8 December 2024 #4314

Open
kalain opened this issue Dec 10, 2024 · 1 comment
Open

Broken newlines '\n' with v2.7.0: 8 December 2024 #4314

kalain opened this issue Dec 10, 2024 · 1 comment

Comments

@kalain
Copy link

kalain commented Dec 10, 2024

Tail output of ns.print(-a-\n-b-) behaviour changed.

Before update 'b' would be on the line below 'a'

After update 'a' and 'b' are on the same line.

@kalain
Copy link
Author

kalain commented Dec 10, 2024

// Before  v2.7.0: 8 December 2024 this worked

ns.print(undefined != context.herald ? context.herald : '')

// After v2.7.0: 8 December 2024 this fixes behaviour changes
if (undefined != context.herald)
  context.herald.split('\n').forEach(line => ns.print(line))

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

1 participant