Update README.md

Replace the deprecated octal escapes with Unicode escapes.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_octal
This commit is contained in:
pro-src
2018-04-26 11:53:20 -05:00
committed by GitHub
parent 83fe87d012
commit 994895af6d
+1 -1
View File
@@ -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 $ ')
</script>
</body>
</html>