Add curses.COLORS and curses.COLOR_PAIRS (#3115)

This commit is contained in:
Anthony Sottile authored and Jelle Zijlstra committed 2019-07-13 07:50:13 -07:00
1 parent 40124b5f4c
commit 2a57ce2cec
1 file changed
+5
+5
View File
@@ -3,7 +3,12 @@ from typing import TypeVar, Callable, Any
_T = TypeVar('_T')
# available after calling `curses.initscr()`
LINES: int
COLS: int
# available after calling `curses.start_color()`
COLORS: int
COLOR_PAIRS: int
def wrapper(func: Callable[..., _T], *arg: Any, **kwds: Any) -> _T: ...