Skip to content
Snippets Groups Projects
Commit 4677e092 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 55ccda62
No related branches found
No related tags found
No related merge requests found
Pipeline #5701 passed
...@@ -566,7 +566,7 @@ function erase_graphic_box() ...@@ -566,7 +566,7 @@ function erase_graphic_box()
function shitty_inkey(mode, timeout) function shitty_inkey(mode, timeout)
{ {
var b = console.inkey(mode, timeout); var b = console.inkey(mode|K_UTF8, timeout);
var ab; var ab;
var bit; var bit;
var val; var val;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment