diff options
Diffstat (limited to '')
-rw-r--r-- | lib/headlines.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/headlines.ml b/lib/headlines.ml index 17241ee..94e7709 100644 --- a/lib/headlines.ml +++ b/lib/headlines.ml @@ -77,7 +77,7 @@ let rec render and elements = Array.mapi (fun i el -> - if i + 1 == y - scroll (* TODO: Should be reverse *) + if i + 1 == y - scroll then I.strf "%s" el |> I.pad ~l:2 ~t:(i + content_start) else I.strf "%s" el |> I.pad ~l:2 ~t:(i + content_start)) (Basic.array_drop scroll content_pretty) |