aboutsummaryrefslogtreecommitdiff
path: root/lib/headlines.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/headlines.ml')
-rw-r--r--lib/headlines.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/headlines.ml b/lib/headlines.ml
index 31be26c..04b4267 100644
--- a/lib/headlines.ml
+++ b/lib/headlines.ml
@@ -41,7 +41,10 @@ let rec render
let x, y = pos in
let content_position = y - content_start in
let img =
- let dot = I.string A.(st bold) ">" |> I.pad ~l:0 ~t:(y - scroll)
+ let dot =
+ if Array.length content_pretty = 0
+ then I.empty
+ else I.string A.(st bold) ">" |> I.pad ~l:0 ~t:(y - scroll)
and elements =
Array.mapi
(fun i el ->