mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2025-01-12 12:28:13 +00:00
8 lines
228 B
Python
Executable file
8 lines
228 B
Python
Executable file
#!/bin/env python
|
|
import sys
|
|
import os
|
|
rows, cols = map(int, os.popen('stty size', 'r').read().split())
|
|
|
|
for r in range(rows):
|
|
for c in range(cols):
|
|
sys.stdout.write('\x1b[48;2;%d;%d;%dm ' % (255 - r, 255 - c, 255))
|