1 | from typing import Callable, List, Optional
|
2 |
|
3 |
|
4 | def parse_and_bind(s: str) -> None: ...
|
5 |
|
6 | def read_init_file(s: str) -> None: ...
|
7 |
|
8 | def add_history(line: str) -> None: ...
|
9 |
|
10 | def read_history_file(path: Optional[str] = None) -> None: ...
|
11 |
|
12 | def write_history_file(path: Optional[str] = None) -> None: ...
|
13 |
|
14 | def set_completer(completer: Optional[Callable[[str, int], str]] = None) -> None: ...
|
15 |
|
16 | def set_completer_delims(delims: str) -> None: ...
|
17 |
|
18 | def set_completion_display_matches_hook(hook: Optional[Callable[[str, List[str], int], None]] = None) -> None: ...
|
19 |
|
20 | def get_line_buffer() -> str: ...
|
21 |
|
22 | def get_begidx() -> int: ...
|
23 |
|
24 | def get_endidx() -> int: ...
|
25 |
|
26 | def clear_history() -> None: ...
|
27 |
|
28 | def get_history_item(pos: int) -> str: ...
|
29 |
|
30 | def remove_history_item(pos: int) -> None: ...
|
31 |
|
32 | def get_current_history_length() -> int: ...
|
33 |
|
34 | def resize_terminal() -> None: ...
|
35 |
|
36 | def list_funmap_names() -> None: ...
|
37 |
|
38 | def function_dumper(print_readably: bool) -> None: ...
|
39 |
|
40 | def macro_dumper(print_readably: bool) -> None: ...
|
41 |
|
42 | def variable_dumper(print_readably: bool) -> None: ...
|
43 |
|
44 | def query_bindings(fn_name: str) -> None: ...
|