Hello all,
I have a simple form with one input field. Upon pressing Enter, I would like the form to execute a TeXmacs command with the current entry and close the form. This can be done using mouse, but I just want to use the keyboard.
So, for example, upon pressing Enter/Return, I would like to execute (insert (tree 'cite (car (form-values)) and close the form.
Thanks in advance for any suggestions.
Kind regards,
Murali
Asking for help with a simple form
Hi @murali, I have the vague memory that it is not possible to close a form automatically once you have used it.
I found a 2021 thread where I wasn’t able to close a widget, here is a post where I write it:
Perhaps either @jeroen or @mgubi could be able to tell you more. On the other hand, you might post your complete code and I or someone else might try to get the form to close.