Skip to content

Commit

Permalink
Update comment to reference terminal escapes as an example
Browse files Browse the repository at this point in the history
Seems like we're getting closer to a final colour for the bikeshed.

Co-authored-by: Simon Lydell <[email protected]>
  • Loading branch information
zwilias and lydell authored Feb 14, 2023
1 parent df36023 commit 448eafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Supervisor.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ function run(
// those characters, rather than crashing. In an attempt to
// retain useful information in the output, we try and output a
// hex-encoded unicode codepoint for the invalid character. For
// example, a backspace (`\u{0008}` in Elm) will be output as a
// literal `\u{0008}`.
// example, the start of a terminal escape (`\u{001B}` in Elm) will be output as a
// literal `\u{001B}`.
var invalidCharReplacement = function (char) {
return (
'\\u{' +
Expand Down

0 comments on commit 448eafc

Please sign in to comment.