summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-04-07 00:42:26 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-04-07 17:35:07 +0200
commite478ea5328114e97a10d4f8a0450ad32f62032d9 (patch)
tree4816e4da5a6efe3d71683e0b709282f45184fbdf
parent5073eca1b4acc99e9cc86384a224049382c0dfb8 (diff)
downloadpoezio-e478ea5328114e97a10d4f8a0450ad32f62032d9.tar.gz
poezio-e478ea5328114e97a10d4f8a0450ad32f62032d9.tar.bz2
poezio-e478ea5328114e97a10d4f8a0450ad32f62032d9.tar.xz
poezio-e478ea5328114e97a10d4f8a0450ad32f62032d9.zip
Add poopt.pyi
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/poopt.pyi7
1 files changed, 7 insertions, 0 deletions
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: ...