stitch
Note taking for messy minimalists
git clone git://mccd.space/stitchcommit 833716046de9b3ee8e4f277f383967c0d35ba28a
parent 60d41f32aff828aee0dd2e04d1c8e0e7fe6764a9
Author: Marc Coquand <marc@mccd.space>
Date: Thu, 23 May 2024 13:35:30 -0500
Irrelevant TODO
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)