Skip to content

Commit a8b66c3

Browse files
Show ASCII character in editor (#405)
It's useful to see the ASCII character that you're editing.
1 parent 8c03ef1 commit a8b66c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: resources/glyphEditor.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
// Let's use the DOM to store everything for now
171171

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

176176
// Add a pixel matrix to draw a new character

0 commit comments

Comments
 (0)