I love git lol

This commit is contained in:
stackxp 2025-12-11 18:10:51 +01:00
parent 76f6afb39e
commit c899711e69

View file

@ -4175,7 +4175,12 @@ def wrap(txt: str, maxlen: int, maxlen2: int) -> list[str]:
def termsize() -> tuple[int, int]: def termsize() -> tuple[int, int]:
# from hashwalk try:
w, h = os.get_terminal_size()
return w, h
except:
pass
env = os.environ env = os.environ
def ioctl_GWINSZ(fd: int) -> Optional[tuple[int, int]]: def ioctl_GWINSZ(fd: int) -> Optional[tuple[int, int]]: