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 4f2917a commit cc0e504Copy full SHA for cc0e504
src/grid_fmt.rs
@@ -554,7 +554,7 @@ impl GridFmt for Boxed {
554
for row in &mut grid {
555
row.insert(0, ' ');
556
}
557
- grid[(height - 1) / 2][0] = symbol;
+ grid[height / 2][0] = symbol;
558
559
560
tests/grid.ua
@@ -75,3 +75,18 @@ $ ┘
75
⍤⤙≍ ¤"[\"1\"│]" pretty {"1"}
76
⍤⤙≍ ¤"[¤\"1\"│]" pretty {¤"1"}
77
⍤⤙≍ ¤"[¤\"23\"│]" pretty {¤"23"}
78
+
79
+# Labels
80
+pretty {$a 5 $b 6}
81
+$ ┌─
82
+$ a│ b
83
+$ ∙5│∙6
84
+$ ┘
85
+⍤⤙≍ ⊜∘⊸≠@\n
86
87
+pretty {$a 5 $b @x}
88
89
+$ a│b
90
+$ ∙5│@x
91
92
0 commit comments