| 1 | from typing import Callable, List, Optional
|
| 2 | from core.state import Mem
|
| 3 |
|
| 4 |
|
| 5 | def parse_and_bind(s: str) -> None: ...
|
| 6 |
|
| 7 | def read_init_file(s: str) -> None: ...
|
| 8 |
|
| 9 | def add_history(line: str) -> None: ...
|
| 10 |
|
| 11 | def read_history_file(path: Optional[str] = None) -> None: ...
|
| 12 |
|
| 13 | def write_history_file(path: Optional[str] = None) -> None: ...
|
| 14 |
|
| 15 | def set_completer(completer: Optional[Callable[[str, int], str]] = None) -> None: ...
|
| 16 |
|
| 17 | def set_completer_delims(delims: str) -> None: ...
|
| 18 |
|
| 19 | def set_completion_display_matches_hook(hook: Optional[Callable[[str, List[str], int], None]] = None) -> None: ...
|
| 20 |
|
| 21 | def get_line_buffer() -> str: ...
|
| 22 |
|
| 23 | def get_begidx() -> int: ...
|
| 24 |
|
| 25 | def get_endidx() -> int: ...
|
| 26 |
|
| 27 | def clear_history() -> None: ...
|
| 28 |
|
| 29 | def get_history_item(pos: int) -> str: ...
|
| 30 |
|
| 31 | def remove_history_item(pos: int) -> None: ...
|
| 32 |
|
| 33 | def get_current_history_length() -> int: ...
|
| 34 |
|
| 35 | def resize_terminal() -> None: ...
|
| 36 |
|
| 37 | def list_funmap_names() -> None: ...
|
| 38 |
|
| 39 | def function_dumper(print_readably: bool) -> None: ...
|
| 40 |
|
| 41 | def macro_dumper(print_readably: bool) -> None: ...
|
| 42 |
|
| 43 | def variable_dumper(print_readably: bool) -> None: ...
|
| 44 |
|
| 45 | def query_bindings(fn_name: str) -> None: ...
|
| 46 |
|
| 47 | def unbind_rl_function(fn_name: str) -> None: ...
|
| 48 |
|
| 49 | def unbind_shell_cmd() -> None: ...
|
| 50 |
|
| 51 | def use_temp_keymap(keymap_name: str) -> None: ...
|
| 52 |
|
| 53 | def restore_orig_keymap() -> None: ...
|
| 54 |
|
| 55 | def print_shell_cmd_map() -> None: ...
|
| 56 |
|
| 57 | def unbind_keyseq(keyseq: str) -> None: ...
|
| 58 |
|
| 59 | def bind_shell_command(keyseq: str, cmd: str) -> None: ...
|
| 60 |
|
| 61 | def set_bind_shell_command_hook(hook: Callable[[str, str, int], (int, str, str)]) -> None: ...
|