fn new(
        os_input: Box<dyn ClientOsApi>,
        command_is_executing: CommandIsExecuting,
        config: Config,
        options: Options,
        send_client_instructions: SenderWithContext<ClientInstruction>,
        mode: InputMode,
        receive_input_instructions: Receiver<(InputInstruction, ErrorContext)>,
    ) -> Self {
        InputHandler {
            mode,
            os_input,
            config,
            options,
            command_is_executing,
            send_client_instructions,
            should_exit: false,
            pasting: false,
            receive_input_instructions,
        }
    }
/// 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,
        options: Options,
        send_client_instructions: SenderWithContext<ClientInstruction>,
        mode: InputMode,
        receive_input_instructions: Receiver<(InputInstruction, ErrorContext)>,
    ) -> Self {
        InputHandler {
            mode,
            os_input,
            config,
            options,
            command_is_executing,
            send_client_instructions,
            should_exit: false,
            pasting: false,
            receive_input_instructions,
        }
    }
fn new ( os_input : Box < dyn ClientOsApi > , command_is_executing : CommandIsExecuting , config : Config , options : Options , send_client_instructions : SenderWithContext < ClientInstruction > , mode : InputMode , receive_input_instructions : Receiver < ( InputInstruction , ErrorContext ) > , ) -> Self { InputHandler { mode , os_input , config , options , command_is_executing , send_client_instructions , should_exit : false , pasting : false , receive_input_instructions , } }
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
options
Options
send_client_instructions
SenderWithContext<ClientInstruction>
mode
InputMode
receive_input_instructions
Receiver<(InputInstruction, ErrorContext)>