Dannii Willis
Dannii Willis
Let me just say that I quite like these ideas!
I used the flex system to auto-expand the input. But it was quite complex to get it to work with multi-word prompts (I ended up making each word its own...
Towards the bottom of `glk_window_close` it tries to set `box = content_box;`, but there is no `content_box` in the file. This must mean that that branch is never run. And...
It looks like `glk_cancel_line_event` doesn't convert non-Latin1 characters into `?`s for a non-unicode buffer. It's also not very clear whether non-Latin1 characters should be converted before or after echoing. GlkApi...
The GlkOte docs say that terminator keys can only be `escape` or `func1-12`, but GlkApi allows any special keycode. GlkApi also doesn't ignore `return`? As RemGlk only allows what the...
`glk_gestalt` says buffer windows instead of grid windows support mouse input.
I can't see anywhere that dialog.js cleans up temp files. Or it could just use sessionStorage for temp files. TIL: most OSes don't clean up temp files automatically either!
@erkyrath Thinking about the terminator keys again... I assume you originally designed it to be able to do what the Z-Machine spec says? But there's quite a lot of inconsistency...
I've been thinking of adding an event queue to my GlkOte, but aside from arrange events I haven't noticed there being an need for it yet. It could be different...
GlkOte only has a keypress document handler, so it's not going to be able to detect non-character keys! Also, after focusing you may have to retrigger keydown events. Here's how...