taut control and font changes

This commit is contained in:
minjaesong
2026-04-25 11:33:43 +09:00
parent d4ea9b2d29
commit 3f98d25828
7 changed files with 137 additions and 47 deletions

View File

@@ -1,4 +1,6 @@
const win = require("wintex")
const keys = require("keysym")
const COL_TEXT = 253
const COL_BACK = 255
const COL_BACK_SEL = 81
@@ -673,7 +675,7 @@ while (!exit) {
let keysym = event[1]
let keyJustHit = (1 == event[2])
if (keyJustHit && event[3] != 66) { // release the latch right away if the key is not Return
if (keyJustHit && event[3] != keys.ENTER) { // release the latch right away if the key is not Return
firstRunLatch = false
}