Example #1
0
def test_nested_boxes_with_colors_and_rows():
    print()
    with Style(31), Box.fancy():
        with Style(35), box(), Style(32), Box.thick(), Style(30, 45):
            print("Test 14")
        with Style(33), Box.double(), Style(39):
            print("Test 14")
Example #2
0
def test_fancy_box():
    print()
    with Box.fancy() as b:
        print("Test 10")
        b.sep()
        print("Test 10")
Example #3
0
def test_deeply_nested_boxes():
    print()
    with box(), Box.fancy(), Box.double(), Box.ascii():
        print("Test 13")