Skip to content

Commit

Permalink
Show ASCII character in editor (#405)
Browse files Browse the repository at this point in the history
It's useful to see the ASCII character that you're editing.
  • Loading branch information
ClutchplateDude committed May 23, 2024
1 parent 8c03ef1 commit a8b66c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/glyphEditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
// Let's use the DOM to store everything for now

static updateCaption(element, code) {
element.textContent = `Char #${code}`;
element.textContent = `Char #${code} [`+String.fromCharCode(code)+']';
}

// Add a pixel matrix to draw a new character
Expand Down

0 comments on commit a8b66c3

Please sign in to comment.