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

\r break echo #408

Closed
jcubic opened this issue Jun 25, 2018 · 1 comment
Closed

\r break echo #408

jcubic opened this issue Jun 25, 2018 · 1 comment

Comments

@jcubic
Copy link
Owner

jcubic commented Jun 25, 2018

Expected behavior

Text that contain /r should be echo normally

Actual behavior

it remove text before \r to beginning of the line

Steps to reproduce

$.terminal.active().echo("<!DOCTYPE html>\r\n<html>\r\n<body>\r\n<textarea autofocus><\/textarea>\r\n<\/body>\r\n<\/html>")

you will only see blank lines and </html> at the end.

@jcubic
Copy link
Owner Author

jcubic commented Jun 25, 2018

There is function crlf that clear \r that located in cmd plugin, it need to be put outside and use in echo.

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