tigrawap / slit

slit - a modern PAGER for viewing logs, get more than most in less time
Other
469 stars 19 forks source link

colors in follow mode #89

Closed xse closed 3 years ago

xse commented 3 years ago

Hello, i'm wondering if -f is supposed to use colors. I installed slit to be able to have my logs without line wrap and still be able to check the cut part if needed. It's working fine but does not use the colors i get without it. Slit Version: 1.3.0

Here's an example, on top is journalctl -f, on the bottom is journalctl -f | slit -f 2021-07-03 21_21_24-Window

This is happening inside tmux, i tried a couple different terminals with the same results. Have a good day!

tigrawap commented 3 years ago

try: SYSTEMD_COLORS=true journalctl | slit