mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
themes kitten: Also underline trigger keys on confirmation page. Apparently some people use color themes where SGR 31 does not contrast with the default foreground color.
This commit is contained in:
@@ -560,7 +560,7 @@ func (self *handler) draw_accepting_screen() {
|
|||||||
kc := self.lp.SprintStyled("italic", self.opts.ConfigFileName)
|
kc := self.lp.SprintStyled("italic", self.opts.ConfigFileName)
|
||||||
|
|
||||||
ac := func(x string) string {
|
ac := func(x string) string {
|
||||||
return self.lp.SprintStyled("fg=red", x)
|
return self.lp.SprintStyled("fg=red underline=true", x)
|
||||||
}
|
}
|
||||||
self.lp.AllowLineWrapping(true)
|
self.lp.AllowLineWrapping(true)
|
||||||
defer self.lp.AllowLineWrapping(false)
|
defer self.lp.AllowLineWrapping(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user