massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / colorama / colorama / ansi.pyi
1 CSI: str
2 OSC: str
3 BEL: str
4
5 def code_to_chars(code: int) -> str: ...
6 def set_title(title: str) -> str: ...
7 def clear_screen(mode: int = ...) -> str: ...
8 def clear_line(mode: int = ...) -> str: ...
9
10 class AnsiCodes:
11     def __init__(self) -> None: ...
12
13 class AnsiCursor:
14     def UP(self, n: int = ...) -> str: ...
15     def DOWN(self, n: int = ...) -> str: ...
16     def FORWARD(self, n: int = ...) -> str: ...
17     def BACK(self, n: int = ...) -> str: ...
18     def POS(self, x: int = ..., y: int = ...) -> str: ...
19
20 # All attributes in the following classes are string in instances and int in the class.
21 # We use str since that is the common case for users.
22 class AnsiFore(AnsiCodes):
23     BLACK: str = ...
24     RED: str = ...
25     GREEN: str = ...
26     YELLOW: str = ...
27     BLUE: str = ...
28     MAGENTA: str = ...
29     CYAN: str = ...
30     WHITE: str = ...
31     RESET: str = ...
32     LIGHTBLACK_EX: str = ...
33     LIGHTRED_EX: str = ...
34     LIGHTGREEN_EX: str = ...
35     LIGHTYELLOW_EX: str = ...
36     LIGHTBLUE_EX: str = ...
37     LIGHTMAGENTA_EX: str = ...
38     LIGHTCYAN_EX: str = ...
39     LIGHTWHITE_EX: str = ...
40
41 class AnsiBack(AnsiCodes):
42     BLACK: str = ...
43     RED: str = ...
44     GREEN: str = ...
45     YELLOW: str = ...
46     BLUE: str = ...
47     MAGENTA: str = ...
48     CYAN: str = ...
49     WHITE: str = ...
50     RESET: str = ...
51     LIGHTBLACK_EX: str = ...
52     LIGHTRED_EX: str = ...
53     LIGHTGREEN_EX: str = ...
54     LIGHTYELLOW_EX: str = ...
55     LIGHTBLUE_EX: str = ...
56     LIGHTMAGENTA_EX: str = ...
57     LIGHTCYAN_EX: str = ...
58     LIGHTWHITE_EX: str = ...
59
60 class AnsiStyle(AnsiCodes):
61     BRIGHT: str = ...
62     DIM: str = ...
63     NORMAL: str = ...
64     RESET_ALL: str = ...
65
66 Fore: AnsiFore
67 Back: AnsiBack
68 Style: AnsiStyle
69 Cursor: AnsiCursor