vim.ui_attach
with ext_cmdline
and ext_messages
should have an event for user input with getchar
or getcharstr
#20311
Labels
Milestone
Feature already in Vim?
No response
Feature description
Currently,
input()
is handled bycmdline_show
andconfirm()
is handled bymsg_show.confirm
.There are no events yet to know theres any input requested from the user with
getchar
orgetcharstr
.As a work-around, I'm wrapping the respective
vim.fn
functions, but that only works forLua
calls.Would be great to have this as part of the
ext_cmdline
orext_messages
API.The text was updated successfully, but these errors were encountered: