1
1
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:
Johan Walles 2024-01-13 12:37:42 +01:00
parent 30c40dc0a7
commit 5646a67ced

View File

@ -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)
}