Add poopt.pyi

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-04-07 00:42:26 +02:00 committed by Emmanuel Gil Peyrot
parent 5073eca1b4
commit e478ea5328

7
poezio/poopt.pyi Normal file
View file

@ -0,0 +1,7 @@
from typing import List, Tuple
def xwcwidth(c: str) -> int: ...
def cut_text(string: str, width: int) -> List[Tuple[int, int]]: ...
def wcswidth(string: str) -> int: ...
def cut_by_columns(string: str, limit: int) -> str: ...