paradoxxxzero_butterfly/butterfly/bin/b16M
2015-04-30 12:33:04 +02:00

8 lines
232 B
Python
Executable file

#!/usr/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))