sick bugfix bro

This commit is contained in:
2025-07-02 22:38:42 +02:00
parent 0961fc0ceb
commit 68e0374697
5 changed files with 31 additions and 4 deletions

View File

@@ -221,7 +221,8 @@ function tty.keyboard()
-- changes to this design should avoid this on every key hit
-- this is expensive (slow!)
window.keyboard = component.invoke(screen, "getKeyboards")[1] or system_keyboard
debugprint("screen", type(screen), string.format("%q", screen))
window.keyboard = assert(component.invoke(screen, "getKeyboards"))[1] or system_keyboard
end
return window.keyboard