psibi / tldr-hs

Haskell tldr client
BSD 3-Clause "New" or "Revised" License
92 stars 14 forks source link

Apply better coloring #43

Closed hasufell closed 2 years ago

hasufell commented 2 years ago

Specifically, this gets rid of the {{path/to/file}} pieces in code.

Most tldr clients parse these and apply different color. Let's match that.


Haskell tldr

Screenshot_2021-10-10_15-50-18

NPM tldr

Screenshot_2021-10-10_15-49-48

Haskell tldr with this patch

Screenshot_2021-10-10_15-50-55


I couldn't find any impact on performance. The parsing is very quick.

psibi commented 2 years ago

Thank you!