Thank you!
Would anyone mind giving me an example of pre-loading text into the input buffer and then putting that text onscreen for the player to edit? I don’t know, maybe like this?
[code]To copy (T - a text) into the input buffer:
???
To display fake keyboard input with (N - a number) characters:
(- glk_request_line_event(gg_mainwin, a_buffer+WORDSIZE, INPUT_BUFFER_LEN-WORDSIZE, ({N})); -). [???]
When play begins:
Copy “Hello” into the input buffer;
display fake keyboard input with 5 characters.[/code]
Edit: This post seems somewhat relevant, but it seems to be using a partial command that’s previously been typed, rather than one that was never typed.
Edit#2: actually, “when play begins” is a bad example because there’s no command prompt…