feat: support windows console input buffer #1816
Annotations
7 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#L610
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:
key.go#L622
naked return in func `detectOneMsg` with 87 lines of code (nakedret)
|
lint-soft:
inputreader_other.go#L13
error returned from external package is unwrapped: sig: func github.com/muesli/cancelreader.NewReader(reader io.Reader) (github.com/muesli/cancelreader.CancelReader, error) (wrapcheck)
|
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum
|