/// Returns a new [`InputHandler`] with the attributes specified as arguments.
Returns a new [`InputHandler`] with the attributes specified as arguments.
Returns a new [ ` InputHandler ` ] with the attributes specified as arguments .
fn new(
        os_input: Box<dyn ClientOsApi>,
        command_is_executing: CommandIsExecuting,
        config: Config,
        send_client_instructions: SenderWithContext<ClientInstruction>,
    ) -> Self {
        InputHandler {
            mode: InputMode::Normal,
            os_input,
            config,
            command_is_executing,
            send_client_instructions,
            should_exit: false,
            pasting: false,
        }
    }
fn new ( os_input : Box < dyn ClientOsApi > , command_is_executing : CommandIsExecuting , config : Config , send_client_instructions : SenderWithContext < ClientInstruction > , ) -> Self { InputHandler { mode : InputMode :: Normal , os_input , config , command_is_executing , send_client_instructions , should_exit : false , pasting : false , } }
Returns a new [`InputHandler`] with the attributes specified as arguments.
Returns a new [ ` InputHandler ` ] with the attributes specified as arguments .
os_input
Box<dyn ClientOsApi>
command_is_executing
CommandIsExecuting
config
Config
send_client_instructions
SenderWithContext<ClientInstruction>