Functions
- getCommandlineFns
Functions
getCommandlineFns
-
getCommandlineFns( cmdline_state: { fns: { accept_line: () => Promise<any>; complete: () => Promise<any>; copy_completion: () => Promise<any>; deselect_completion: () => void; execute_ex_on_all_completions: (excmd: string) => Promise<any[]>; execute_ex_on_completion: (excmd: string) => Promise<any>; execute_ex_on_completion_args: (excmd: string) => Promise<any>; hide_and_clear: () => void; insert_character_or_completion: (character?: string) => any; insert_completion: () => Promise<any[]>; insert_space: () => void; insert_space_or_completion: () => any; is_valid_commandline: (command: string) => boolean; next_completion: (increment?: string) => Promise<void>; next_history: () => any; next_history_or_completion: () => any; prev_completion: (increment?: string) => Promise<void>; prev_history: () => any; prev_history_or_completion: () => any; store_ex_string: (command: string) => void; }; [otherStuff: string]: any; },): { accept_line: () => Promise<any>; complete: () => Promise<any>; copy_completion: () => Promise<any>; deselect_completion: () => void; execute_ex_on_all_completions: (excmd: string) => Promise<any[]>; execute_ex_on_completion: (excmd: string) => Promise<any>; execute_ex_on_completion_args: (excmd: string) => Promise<any>; hide_and_clear: () => void; insert_character_or_completion: (character?: string) => any; insert_completion: () => Promise<any[]>; insert_space: () => void; insert_space_or_completion: () => any; is_valid_commandline: (command: string) => boolean; next_completion: (increment?: string) => Promise<void>; next_history: () => any; next_history_or_completion: () => any; prev_completion: (increment?: string) => Promise<void>; prev_history: () => any; prev_history_or_completion: () => any; store_ex_string: (command: string) => void;}
Parameters
- cmdline_state: {
fns: {
accept_line: () => Promise<any>;
complete: () => Promise<any>;
copy_completion: () => Promise<any>;
deselect_completion: () => void;
execute_ex_on_all_completions: (excmd: string) => Promise<any[]>;
execute_ex_on_completion: (excmd: string) => Promise<any>;
execute_ex_on_completion_args: (excmd: string) => Promise<any>;
hide_and_clear: () => void;
insert_character_or_completion: (character?: string) => any;
insert_completion: () => Promise<any[]>;
insert_space: () => void;
insert_space_or_completion: () => any;
is_valid_commandline: (command: string) => boolean;
next_completion: (increment?: string) => Promise<void>;
next_history: () => any;
next_history_or_completion: () => any;
prev_completion: (increment?: string) => Promise<void>;
prev_history: () => any;
prev_history_or_completion: () => any;
store_ex_string: (command: string) => void;
};
[otherStuff: string]: any;
}
Returns {
accept_line: () => Promise<any>;
complete: () => Promise<any>;
copy_completion: () => Promise<any>;
deselect_completion: () => void;
execute_ex_on_all_completions: (excmd: string) => Promise<any[]>;
execute_ex_on_completion: (excmd: string) => Promise<any>;
execute_ex_on_completion_args: (excmd: string) => Promise<any>;
hide_and_clear: () => void;
insert_character_or_completion: (character?: string) => any;
insert_completion: () => Promise<any[]>;
insert_space: () => void;
insert_space_or_completion: () => any;
is_valid_commandline: (command: string) => boolean;
next_completion: (increment?: string) => Promise<void>;
next_history: () => any;
next_history_or_completion: () => any;
prev_completion: (increment?: string) => Promise<void>;
prev_history: () => any;
prev_history_or_completion: () => any;
store_ex_string: (command: string) => void;
}
-
accept_line: () => Promise<any>
-
complete: () => Promise<any>
-
copy_completion: () => Promise<any>
-
deselect_completion: () => void
-
execute_ex_on_all_completions: (excmd: string) => Promise<any[]>
-
execute_ex_on_completion: (excmd: string) => Promise<any>
-
execute_ex_on_completion_args: (excmd: string) => Promise<any>
-
hide_and_clear: () => void
-
insert_character_or_completion: (character?: string) => any
-
insert_completion: () => Promise<any[]>
-
insert_space: () => void
-
insert_space_or_completion: () => any
-
is_valid_commandline: (command: string) => boolean
-
next_completion: (increment?: string) => Promise<void>
-
next_history: () => any
-
next_history_or_completion: () => any
-
prev_completion: (increment?: string) => Promise<void>
-
prev_history: () => any
-
prev_history_or_completion: () => any
-
store_ex_string: (command: string) => void
Execute the content of the command line and hide it.