mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
restore highlighting of popup messages
This commit is contained in:
@ -74,7 +74,8 @@ func (self *RealPopupHandler) ErrorMsg(message string) error {
|
||||
self.index++
|
||||
self.Unlock()
|
||||
|
||||
coloredMessage := style.FgRed.Sprint(strings.TrimSpace(message))
|
||||
// Need to set bold here explicitly; otherwise it gets cancelled by the red colouring.
|
||||
coloredMessage := style.FgRed.SetBold().Sprint(strings.TrimSpace(message))
|
||||
if err := self.onErrorFn(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user