Ernie Rael
unread,Jul 18, 2024, 1:47:30 AM7/18/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
Greetings,
For a vim based app, I use a popup menu during startup if there is a severe
problem and only 'y'/'n' take you out of it (a modal dialog, using
"popup_filter_yesno()"). But if I get a "hit-enter" prompt during
startup the
app hangs (well not really, it just appears to hang). Because of the
prompt, the
dialog does not become visible and it has instructions on how to
proceed. But
the dialog "filter" is in effect.
The issue showed up in testing by starting the app with '-u NONE'; I guess
because otherwise 'shortmess' gets set somewhere. I must clear the
prompt before
bringing up the modal dialog otherwise the dialog is never seen. Note
that since
the dialog's filter is only for 'y'/'n', typing "ENTER" does nothing (even
though it visibly says to press enter).
I poked around the help and couldn't find a good way to check if that
prompt is
active; and then to clear the prompt if it is before staring the dialog.
-ernie