diff options
Diffstat (limited to '')
-rw-r--r-- | lib/todos.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/todos.ml b/lib/todos.ml index 08c9a34..5d16740 100644 --- a/lib/todos.ml +++ b/lib/todos.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 -> |