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 from random import choice
def terminal_size(): def terminal_size():
import fcntl, termios, struct import fcntl, termios, struct
th, tw, hp, wp = struct.unpack('HHHH',
fcntl.ioctl(0, termios.TIOCGWINSZ, th, tw, hp, wp = struct.unpack(
struct.pack('HHHH', 0, 0, 0, 0))) "HHHH", fcntl.ioctl(0, termios.TIOCGWINSZ, struct.pack("HHHH", 0, 0, 0, 0))
)
return tw, th return tw, th
print(choice(jaajs)) print(choice(jaajs))