1 | from typing import Callable, List, Optional
|
2 |
|
3 |
|
4 | def parse_and_bind(s: str) -> None: ...
|
5 |
|
6 | def add_history(line: str) -> None: ...
|
7 |
|
8 | def read_history_file(path: Optional[str] = None) -> None: ...
|
9 |
|
10 | def write_history_file(path: Optional[str] = None) -> None: ...
|
11 |
|
12 | def set_completer(completer: Optional[Callable[[str, int], str]] = None) -> None: ...
|
13 |
|
14 | def set_completer_delims(delims: str) -> None: ...
|
15 |
|
16 | def set_completion_display_matches_hook(hook: Optional[Callable[[str, List[str], int], None]] = None) -> None: ...
|
17 |
|
18 | def get_line_buffer() -> str: ...
|
19 |
|
20 | def get_begidx() -> int: ...
|
21 |
|
22 | def get_endidx() -> int: ...
|
23 |
|
24 | def clear_history() -> None: ...
|
25 |
|
26 | def get_history_item(pos: int) -> str: ...
|
27 |
|
28 | def remove_history_item(pos: int) -> None: ...
|
29 |
|
30 | def get_current_history_length() -> int: ...
|
31 |
|
32 | def resize_terminal() -> None: ...
|