mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
The text of the selected line is always bold. Some users don't like this (#2304), but there is no way to turn it off. Setting selectedLineBgColor doesn't help. Its attributes apply to the text too, so it can add bold, but it can't take it away. Add gui.theme.selectedLineFgColor for the text of the selected line, in focused and unfocused views alike. Its attributes are added to those of the text, and a color replaces the colors of the text. It is [bold] by default, so nothing changes unless you set it; 'default' leaves the text as it is. Putting bold into the default of selectedLineBgColor instead wouldn't work well. To turn it off, you would have to replace the whole list, and lose the color that is computed from the terminal's background. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>