support alpha, numeric, f0..10, punctuation, math keys

This commit is contained in:
Bel LaPointe
2023-03-24 13:49:12 -06:00
parent 9ce50f2622
commit 6536daee7f
4 changed files with 77 additions and 38 deletions

View File

@@ -12,7 +12,7 @@ func TestFromChar(t *testing.T) {
if got := FromChar('A'); got != A {
t.Error(got)
}
if got := FromChar('!'); got != Undef {
if got := FromChar(byte(0)); got != Undef {
t.Error(got)
}
if got := ToChar(A); got != 'a' {