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

Update README.md #1420

Merged
merged 2 commits into from Apr 27, 2018
Merged

Update README.md #1420

merged 2 commits into from Apr 27, 2018

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2018

Closes #1419

Replace the deprecated octal escapes with hex escapes.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_octal

README.md Outdated
@@ -41,7 +41,7 @@ To start using xterm.js on your browser, add the `xterm.js` and `xterm.css` to t
<script>
var term = new Terminal();
term.open(document.getElementById('terminal'));
term.write('Hello from \033[1;3;31mxterm.js\033[0m $ ')
      term.write('Hello from \u001B[1;3;31mxterm.js\u001B[0m $ ')
Copy link
Member

Choose a reason for hiding this comment

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

Interesting, didn't know they were deprecated. I tend to prefer hex escapes as they're a little more compact, can we do that instead? \x1b

@ghost
Copy link
Author

ghost commented Apr 27, 2018

@Tyriar updated

@Tyriar Tyriar added this to the 3.4.0 milestone Apr 27, 2018
@Tyriar Tyriar merged commit 7b2500b into xtermjs:master Apr 27, 2018
@Tyriar
Copy link
Member

Tyriar commented Apr 27, 2018

@pro-src thanks!

@ghost ghost deleted the patch-1 branch May 11, 2018 15:16
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.

1 participant