We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbde192 commit 9e9334bCopy full SHA for 9e9334b
test/test1.expected
@@ -461,7 +461,7 @@ root
461
│ │ │
462
463
│ │t│
464
-│ lil' ol' me │a│
+│ lil' [31mol'[0m me │a│
465
│ │l│
466
467
test/test1.ml
@@ -28,7 +28,8 @@ let () =
28
let grid =
29
B.frame @@ B.grid_l
30
[ [B.text "the center of the triangle is"; B.empty];
31
- [B.center_hv @@ B.text "lil' ol' me";
+ [B.center_hv @@
32
+ B.(rich_text B.Rich_text.(cat [s "lil' "; with_style B.Style.(fg_color Red) (s "ol'"); s " me"]));
33
B.pad' ~col:0 ~lines:6 @@ B.text "t\na\nl\nl"];
34
[B.align_right (B.text "i'm aligned right"); B.empty];
35
[ B.text "loooooooooooooooooooooooooooooooooong"; B.empty; ];
0 commit comments