pub fn send_key_event(tab_id: TabId, event: &KeyEventWui) -> WuiResult<()>Expand description
Send a key event NOTE: All tabs should get ALL key input events, especially when it comes to special keys and modifier keys. All “currently pressed” modifier keys (Shift, Ctrl, Command, etc.) are stored in a HashSet and applied as “modifiers” to any later pressed key event. The same goes for send_mouse_event (!) this enables actions such as ctrl+clicking or complex key combinations Ignoring this will lead to unexpected key presses and unintended side effects