clear Transients
Clear transient modifiers after a key press.
This should be called by KeyboardHandler after each key is dispatched to the terminal. Transient modifiers are one-shot and clear automatically, while locked modifiers persist.