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

This commit is contained in:
Anthony Sottile
2019-07-13 07:50:13 -07:00
committed by Jelle Zijlstra
parent 40124b5f4c
commit 2a57ce2cec

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: ...