fn send_key_input(
keybindings: &KeybindingsConfig,
cmd_sender: &Sender<ClientInputCmd>,
request_sender: &Sender<ClientRequest>,
key: ClientKey,
pending_input: &mut Vec<u8>,
local_action_completion: LocalActionCompletion,
selection_reset_sent: &mut bool,
) -> ClientInputSend