Cool! That means it was working nicely for me 'cause my terp was acting in an illegal way!
OK, as I said, I’ve been trying with this glk_set_echo_line_event() function (which I checked was supported in my Windows Glulxe)(remember to get the latest infglk.h, not the one in the IF Archive but the one in zarf’s github thing). Almost there…!
It happens that, as documented in the GLK 0.7.3 API specification that Ben linked (here), this function only works in subsequent line input requests… So the line break would be there when you catch the hyperlink event but won’t appear in subsequent turns… Of course in these subsequent turns ordinary behavoiur is overidden by this save you turn it off, which would then have an effect not in the current turn, but in the following ones…
Save I’m missing something, this make this feature very useful if you know in advance that your work is meant to be used exclusively in one or the other mode, but not if both are supposed to co-exist and you can’t predict wether the player is going to type or click.
Still I do hope I’m missing something…