mirror of
https://github.com/walles/moar.git
synced 2024-10-26 21:13:11 +03:00
Prevent a useless warning message
This commit is contained in:
parent
30c40dc0a7
commit
5646a67ced
@ -442,6 +442,9 @@ func (p *Pager) StartPaging(screen twin.Screen, chromaStyle *chroma.Style, chrom
|
||||
case eventSpinnerUpdate:
|
||||
spinner = event.spinner
|
||||
|
||||
case twin.EventTerminalBackgroundDetected:
|
||||
// Do nothing, we don't care about background color updates
|
||||
|
||||
default:
|
||||
log.Warnf("Unhandled event type: %v", event)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user