Skip to content
Snippets Groups Projects
Commit 10b679d8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Pass K_UTF8 mode flag to console.inkey()

Since this script supports/expects UTF-8 character sequences for UNICODE
characters (not a CP437 translated version of mappable chars).
parent 5dec1519
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -566,7 +566,7 @@ function erase_graphic_box()
function shitty_inkey(mode, timeout)
{
var b = console.inkey(mode, timeout);
var b = console.inkey(mode|K_UTF8, timeout);
var ab;
var bit;
var val;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment