jesseduffield / lazygit

simple terminal UI for git commands
MIT License
51.57k stars 1.81k forks source link

Color codes at the top/end of pager #3190

Open gruvw opened 9 months ago

gruvw commented 9 months ago

Describe the bug

There are color codes printed at the top and end of the git show output.

Note: this does not happen in a regular terminal window (outside lazygit).

image

Expected behavior No color codes / weird text.

Should be exactly like in a regular terminal window:

git show image

Version info:

Additional context

See my configs:

mtvrsh commented 6 months ago

Could you try with --dark added to pager in your lazygit config? Same as in docs here: https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md#delta I had similar issue which disappeared after adding this flag.

stefanhaller commented 6 months ago

This should no longer be necessary with the 0.41.0 version though.