egets() and history

Jun 10, 2008
35
0
#1
I am using egets() in two different TCC plugins to read editable lines of user input. This works but it seems the egets() editing capabilities don't extend to handling the history list (ie using the up and down arrows just produces beeps).

Now it would be nice if I could enable some sort of history recall in those plugins. Is there a way to do that? (I fully realise that mixing TCC commands and plugin input in the same history list may be confusing for some users, so in a perfect world, not only would egets() enable history recall but it might even have a different history stack depending on the plugin calling egets().)

I did search the forum but couldn't find anything.

cheers thomasl