Update charmapTTY.py

This commit is contained in:
chrys87 2017-03-22 15:58:28 +01:00 committed by GitHub
parent 26a420a8be
commit 82f6f02a51

View File

@ -2,6 +2,9 @@
#attrib:
#http://rampex.ihep.su/Linux/linux_howto/html/tutorials/mini/Colour-ls-6.html
#0 = black, 1 = blue, 2 = green, 3 = cyan, 4 = red, 5 = purple, 6 = brown/yellow, 7 = white.
#https://github.com/jwilk/vcsapeek/blob/master/linuxvt.py
#blink = 5 if attr & 1 else 0
#bold = 1 if attr & 16 else 0
from fcntl import ioctl
from array import array
import struct