KeyEvent.charsPossible

A view into the upcoming buffer holding coming character events that are sent if and only if neither the alt or super modifier keys are pressed (check this with !(modifierState & (ModifierState.window | ModifierState.alt)) to predict if char events are actually coming..

Only available on X systems since this information is not given ahead of time elsewhere. (Well, you COULD probably dig it up, but as far as I know right now, it isn't terribly pretty.)

I'm adding this because it is useful to the terminal emulator, but given its platform specificness and potential quirks I'd recommend avoiding it.

struct KeyEvent
version(X11)
dchar[] charsPossible;

Meta

History

Added April 26, 2021 (dub v9.5)