bin: Lint jaaj script

This commit is contained in:
GaspardCulis 2024-01-05 17:25:27 +01:00
parent 599b189fc5
commit 517f637c16

View file

@ -2446,16 +2446,19 @@ ___ _ _ ___
""",
"""
;_][ //-\\ //-\\ ;_][
"""
""",
]
from random import choice
def terminal_size():
import fcntl, termios, struct
th, tw, hp, wp = struct.unpack('HHHH',
fcntl.ioctl(0, termios.TIOCGWINSZ,
struct.pack('HHHH', 0, 0, 0, 0)))
th, tw, hp, wp = struct.unpack(
"HHHH", fcntl.ioctl(0, termios.TIOCGWINSZ, struct.pack("HHHH", 0, 0, 0, 0))
)
return tw, th
print(choice(jaajs))