Extended Coordinates mouse reporting & additional buttons support #1747
Annotations
5 errors and 1 warning
lint-soft:
mouse.go#L48
`if m.Button == MouseButtonNone` has complex nested blocks (complexity: 6) (nestif)
|
lint-soft:
mouse.go#L291
missing cases in switch of type tea.MouseButton: tea.MouseButtonNone, tea.MouseButtonWheelUp, tea.MouseButtonWheelDown, tea.MouseButtonWheelLeft, tea.MouseButtonWheelRight, tea.MouseButton10, tea.MouseButton11 (exhaustive)
|
lint-soft:
mouse.go#L175
mnd: Magic number: 5, in <condition> detected (gomnd)
|
lint-soft:
key.go#L586
mnd: Magic number: 3, in <operation> detected (gomnd)
|
lint-soft:
mouse.go#L183
variable 'release' is only used in the if-statement (mouse.go:188:2); consider using short syntax (ifshort)
|
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum
|