Commits

Armin Rigo committed d46722d

Force almost-black style on all text of bot2 and keenan.

  • Participants
  • Parent commits 42123f5

Comments (0)

Files changed (1)

hack/pypy-hack/irclog.py

             rest = '\x1b[%sm%s\x1b[0m' % (color, rest)
             # fix for 'less':
             rest = rest.replace('\n', '\x1b[0m\n\x1b[%sm' % (color,))
+        elif color == black:
+            rest = rest.replace('\n', '\x1b[0m\n\x1b[1;30m')
+            rest = rest.replace('\x1b[0m', '')
+            rest = '\x1b[1;30m' + rest
         word2 = '\x1b[%sm%s' % (color, word2)
         word2 = '\x1b[1m%s\x1b[0m' % word2
         if timestamps: