Update README.md - prefer hex escapes over octal

This commit is contained in:
pro-src
2018-04-27 02:19:48 -05:00
committed by GitHub
parent 994895af6d
commit 882d5a86d3
+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 \u001B[1;3;31mxterm.js\u001B[0m $ ')
      term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ')
</script>
</body>
</html>