hey String.fromCharCode(evt.keyCode) works, well sort of - except I get capital letters all the time and a few funny characters. Why do little letters not show even when Im not pressing shift?
updated demo
http://donoi.hostoi.com/term.html
The only other problem is I tried to add a line to catch the backspace to allow deletion of characters
Code:
if(evt.keyCode==8){ cursX-=8; return;}
but it just exits the browser!!
That seems to be a quirk of GoogleChrome, dont know why they picked the delete key to also go back, is there an easy way to stop that?