stitch

Note taking for messy minimalists

git clone git://mccd.space/stitch
commit 54ca685422a37b3ebf4e24596d094a708834f221
parent 80c5317f3c7fdba007297582c54e366b4781e706
Author: Marc Coquand <marc@mccd.space>
Date:   Mon, 10 Jun 2024 09:42:41 -0500

Change formatting: Remove bar

Diffstat:
Mlib/grep.ml | 4++--
Mlib/stitch.ml | 1+
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/grep.ml b/lib/grep.ml
@@ -99,7 +99,7 @@ let pretty_format_todo ?(hide_file_name = false) parsed_headlines =
   List.map
     (fun (file_name, content) ->
       if not hide_file_name
-      then String.concat " | " [ pad file_name padding; content ]
+      then String.concat " " [ pad file_name padding; content ]
       else content)
     parsed_headlines
 
@@ -243,7 +243,7 @@ let pretty_format ?(hide_file_name = false) parsed_headlines =
   Array.map
     (fun (file_name, content) ->
       if not hide_file_name
-      then String.concat " | " [ pad file_name padding; content ]
+      then String.concat " " [ pad file_name padding; content ]
       else content)
     parsed_headlines
 
diff --git a/lib/stitch.ml b/lib/stitch.ml
@@ -19,6 +19,7 @@ let start (tag : string) () =
        STITCH_DIRECTORY to the absolute path of your notes. For example: \
        STITCH_DIRECTORY='/home/you/notes'."
   else (
+    print_endline "Launching";
     let term = Common.Term.create () in
     let restore_headline_state = ref (fun () -> ()) in
     let restore_done_state = ref (fun () -> ()) in