tools: Enable color for rakudo.
This commit is contained in:
parent
975737d71d
commit
812e6b4d83
3 changed files with 4 additions and 2 deletions
|
|
@ -136,6 +136,7 @@ class TermStrTests(unittest.TestCase):
|
|||
bg_color(termstr.Color.green))
|
||||
test_round_trip(termstr.TermStr("foo").fg_color(1))
|
||||
test_round_trip(termstr.TermStr("foo").bg_color(10))
|
||||
self.assertEqual(TermStr.from_term("foo"), termstr.TermStr("foo"))
|
||||
self.assertEqual(TermStr.from_term(eris.terminal.ESC + "[33mfoo"),
|
||||
termstr.TermStr("foo").fg_color(3))
|
||||
self.assertEqual(TermStr.from_term(eris.terminal.ESC + "[45mfoo"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue