aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-05-13 08:12:05 +0200
committerMattias Andrée <maandree@operamail.com>2013-05-13 08:12:05 +0200
commita3ba86189000ee9a39409c918ef41e945bd16e2d (patch)
treef3f74e4d9c7c0aaf12b50918f98ea307f293c5cb /src
parentadd font loading (diff)
downloadsplashtool-a3ba86189000ee9a39409c918ef41e945bd16e2d.tar.gz
splashtool-a3ba86189000ee9a39409c918ef41e945bd16e2d.tar.bz2
splashtool-a3ba86189000ee9a39409c918ef41e945bd16e2d.tar.xz
readd the colours
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/parse.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/parse.py b/src/parse.py
index a0036cf..2a3a329 100755
--- a/src/parse.py
+++ b/src/parse.py
@@ -103,17 +103,6 @@ while True:
break
-colour_border = ''
-colour_title = ''
-colour_sel = ''
-colour_unsel = ''
-colour_help = ''
-colour_timeout_msg = ''
-colour_timeout = ''
-colour_tabmsg = ''
-
-
-
border = colour_border
labels = (labels + '\n' * rows).split('\n')[:rows]
@@ -159,7 +148,7 @@ for seg in more:
text = background + '\n' + '\n'.join((text + '\n' * 30).split('\n')[:30])
-print(text.replace('\033', ''), end = '')
+print(text, end = '')
os.system('bash -c "psf2txt <(gunzip < \'%s\') /dev/stderr 2>&1 >/dev/null | grep -v ++"' % font.replace('\'', '\'\\\'\''))