How to get a bang when enter is pressed in the ImGui text input?

When set to CtrlEnterForNewLine, it would be handy to use the enter key as a bang to trigger an action.

Now we have IsKeyDown, IsKeyPressed and IsKeyReleased, that will help to catch those Ctrl+Enter hits. (Version >= 6.5-0023).