Skip to content

refactor!: use term/input to handle input events #2136

refactor!: use term/input to handle input events

refactor!: use term/input to handle input events #2136

Triggered via push April 22, 2024 20:25
Status Success
Total duration 19s
Artifacts

lint-soft.yml

on: push
lint-soft
10s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: key.go#L70
Comment should end in a period (godot)
lint-soft: key.go#L77
Comment should end in a period (godot)
lint-soft: key.go#L82
Comment should end in a period (godot)
lint-soft: key.go#L97
Comment should end in a period (godot)
lint-soft: key.go#L132
Comment should end in a period (godot)
lint-soft: tty.go#L78
tty.go:78: Line contains TODO/BUG/FIXME: "TODO: make configurable through environm..." (godox)
lint-soft: tty.go#L66
mnd: Magic number: 2, in <argument> detected (gomnd)
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: tty.go#L81
error returned from external package is unwrapped: sig: func github.com/charmbracelet/x/exp/term/input.NewDriver(r io.Reader, term string, flags int) (*github.com/charmbracelet/x/exp/term/input.Driver, error) (wrapcheck)
lint-soft: tty.go#L95
error returned from external package is unwrapped: sig: func (*github.com/charmbracelet/x/exp/term/input.Driver).ReadEvents() ([]github.com/charmbracelet/x/exp/term/input.Event, error) (wrapcheck)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum