Skip to content
Myr

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.

Fix #4546

authored by Junegunn Choi · committed by Junegunn Choi · parent 91c4bef · Browse files · 1 file+1 added−3 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+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:src/tui/tui.go+1 added-3 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 = AttrRegular1181 }1182 theme.Ghost = o(theme.Input, ghost)1183 theme.Disabled = o(theme.Input, theme.Disabled)1184
55 unmodified lines
1240 theme.Current = boldify(theme.Current)1241 theme.CurrentMatch = boldify(theme.CurrentMatch)1242 theme.Prompt = boldify(theme.Prompt)1243 theme.Input = boldify(theme.Input)1244 theme.Disabled = boldify(theme.Disabled)1245 theme.Cursor = boldify(theme.Cursor)1246 theme.Spinner = boldify(theme.Spinner)1247 }1248
66 unmodified lines