jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

delta pager slow loading since 0.17.0

taras-biletskyi opened this issue · comments

Describe the bug
There is a noticible slow down in delta pager after they released version 0.17.0.
That second of it loading for every file/commit grinds my gears a lot 🥲.

nevermind... it's the theme flag(--dark/--light), its absence, that causes the slowdown

Thank you @taras-biletskyi ; it was driving me crazy! Do you know why that's happening without the flag?

Thank you @taras-biletskyi ; it was driving me crazy! Do you know why that's happening without the flag?

perhaps because they added auto terminal background detection in 0.17.0. That auto thing is triggered unless you explicitly specify the flag --light or --dark. Did not look into it though.

Makes sense, but thank you anyways; was just about to give up on delta there 😁

perhaps because they added auto terminal background detection in 0.17.0

Yep, that was me. Sorry for breaking your setup! 😃

For reference, here's the delta issue for the same thing: dandavison/delta#1664

Fixed by #3420.

nevermind... it's the theme flag(--dark/--light), its absence, that causes the slowdown

Thank you very much.

I very difficult issue to Google for, but I eventually found this. Issue totally solved via --dark.