From e478ea5328114e97a10d4f8a0450ad32f62032d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 7 Apr 2022 00:42:26 +0200 Subject: [PATCH] Add poopt.pyi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/poopt.pyi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 poezio/poopt.pyi diff --git a/poezio/poopt.pyi b/poezio/poopt.pyi new file mode 100644 index 00000000..3762c94a --- /dev/null +++ b/poezio/poopt.pyi @@ -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: ...