massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / humanfriendly / humanfriendly / terminal / __init__.pyi
1 from typing import Any
2
3 ANSI_CSI: str
4 ANSI_SGR: str
5 ANSI_ERASE_LINE: Any
6 ANSI_RESET: Any
7 ANSI_HIDE_CURSOR: Any
8 ANSI_SHOW_CURSOR: Any
9 ANSI_COLOR_CODES: Any
10 ANSI_TEXT_STYLES: Any
11 CLEAN_OUTPUT_PATTERN: Any
12 DEFAULT_LINES: int
13 DEFAULT_COLUMNS: int
14 DEFAULT_ENCODING: str
15 HIGHLIGHT_COLOR: Any
16
17 def ansi_strip(text, readline_hints: bool = ...): ...
18 def ansi_style(**kw): ...
19 def ansi_width(text): ...
20 def ansi_wrap(text, **kw): ...
21 def auto_encode(stream, text, *args, **kw) -> None: ...
22 def clean_terminal_output(text): ...
23 def connected_to_terminal(stream: Any | None = ...): ...
24 def enable_ansi_support(): ...
25 def find_terminal_size(): ...
26 def find_terminal_size_using_ioctl(stream): ...
27 def find_terminal_size_using_stty(): ...
28 def get_pager_command(text: Any | None = ...): ...
29 def have_windows_native_ansi_support(): ...
30 def message(text, *args, **kw) -> None: ...
31 def output(text, *args, **kw) -> None: ...
32 def readline_strip(expr): ...
33 def readline_wrap(expr): ...
34 def show_pager(formatted_text, encoding=...) -> None: ...
35 def terminal_supports_colors(stream: Any | None = ...): ...
36 def usage(usage_text) -> None: ...
37 def warning(text, *args, **kw) -> None: ...