I am trying to come up with a nice way of allowing kak-lsp to send a message to kak, and have the user respond. Initially I wanted to do this with user-mode, but because I need to vary the message in the info box and you can’t delete or modify a user mode once declared this seems like a dead end. I have been trying to fake a user mode by using info + on-key. It works pretty well aside from I want the info box to be cleared on keypress and there doesn’t seem to be a command to dismiss the info box (at least not that I can discover).
EDIT: extra context