mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add curses.COLORS and curses.COLOR_PAIRS (#3115)
This commit is contained in:
committed by
Jelle Zijlstra
parent
40124b5f4c
commit
2a57ce2cec
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user