Skip to content

Commit

Permalink
Don't reflow notes to keep newlines as is
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed May 13, 2024
1 parent f8a510f commit e03c978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasklite-core/source/Lib.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ formatTaskForInfo conf now (taskV, tags, notes) =
(ulidTextToDateTime n.ulid)
<++> grayOut (pretty n.ulid)
<> hardline
<> indent 2 (reflow n.note)
<> indent 2 (pretty n.note)
<> hardline
)

Expand Down Expand Up @@ -1344,7 +1344,7 @@ formatTaskForInfo conf now (taskV, tags, notes) =
(utcFormatShort conf)
)
(ulidTextToDateTime n.ulid)
<++> align (reflow n.note)
<++> align (pretty n.note)
)
& vsep
)
Expand Down

0 comments on commit e03c978

Please sign in to comment.