Skip to content
Myr

Revert "Make query string in `--disabled` state bold as before"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit ab407c4645952d09c4bb9b481b178717f0a0578f.

authored by Junegunn Choi · committed by Junegunn Choi · parent d5913bf · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:src/tui/tui.go+3 added-1 removed
1176 unmodified lines
11771178 ghost := theme.Ghost1179 if ghost.IsUndefined() {1180 ghost.Attr = Dim1181 } else if ghost.IsColorDefined() && !ghost.IsAttrDefined() {1182 // Don't want to inherit 'bold' from 'input'1183 ghost.Attr = AttrRegular1184 }1185 theme.Ghost = o(theme.Input, ghost)1186 theme.Disabled = o(theme.Input, theme.Disabled)1187
55 unmodified lines
1243 theme.Current = boldify(theme.Current)1244 theme.CurrentMatch = boldify(theme.CurrentMatch)1245 theme.Prompt = boldify(theme.Prompt)1246 theme.Input = boldify(theme.Input)1244 theme.Disabled = boldify(theme.Disabled)1247 theme.Cursor = boldify(theme.Cursor)1248 theme.Spinner = boldify(theme.Spinner)1249 }1250
66 unmodified lines