diff options
Diffstat (limited to '')
-rw-r--r-- | lib/done.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/done.ml b/lib/done.ml index 2c97dd3..8a69601 100644 --- a/lib/done.ml +++ b/lib/done.ml @@ -40,7 +40,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 -> |