File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 60
60
# Includes modifications to colorama made by Bram Geelen in
61
61
# https://github.com/tartley/colorama/pull/141/files
62
62
#
63
-
64
63
# resolve_color_default, _ansi_re and strip_ansi based on
65
64
# https://github.com/pallets/click
66
65
# Copyright 2014 Pallets
82
81
"CSI" ,
83
82
"OSC" ,
84
83
"BEL" ,
84
+ "resolve_color_default" ,
85
85
"code_to_chars" ,
86
86
"set_title" ,
87
87
"clear_screen" ,
Original file line number Diff line number Diff line change @@ -56,10 +56,16 @@ See: http://en.wikipedia.org/wiki/ANSI_escape_code
56
56
#
57
57
# Includes modifications to colorama made by Bram Geelen in
58
58
# https://github.com/tartley/colorama/pull/141/files
59
+ #
60
+ # resolve_color_default, _ansi_re and strip_ansi based on
61
+ # https://github.com/pallets/click
62
+ # Copyright 2014 Pallets
63
+ # Distributed under the BSD 3-Clause license.
64
+ #
59
65
60
66
# stdlib
61
67
from abc import ABC
62
- from typing import List
68
+ from typing import List , Optional
63
69
64
70
# 3rd party
65
71
from typing_extensions import Final
@@ -72,6 +78,7 @@ fore_stack: List[str]
72
78
back_stack : List [str ]
73
79
style_stack : List [str ]
74
80
81
+ def resolve_color_default (color : Optional [bool ] = None ) -> Optional [bool ]: ...
75
82
76
83
def code_to_chars (code ) -> str : ...
77
84
def set_title (title : str ) -> str : ...
You can’t perform that action at this time.
0 commit comments