CamiloGarciaLaRotta / kboard

Terminal game to practice keyboard typing
GNU General Public License v3.0
187 stars 6 forks source link

fix: bump github.com/charmbracelet/bubbletea from 0.12.1 to 0.12.2 #8

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 4 years ago

Bumps github.com/charmbracelet/bubbletea from 0.12.1 to 0.12.2.

Release notes

Sourced from github.com/charmbracelet/bubbletea's releases.

v0.12.2

This release adds support for multi-character input, most notably Chinese and Japanese IME. Adding this support required some API changes:

  • Key.Rune is now Key.Runes
  • Type KeyRune is now KeyRunes
  • Key.IsRune() was removed. To determine if input is a string (or []rune) use Key.Type == KeyRunes
Commits
  • 116a0cf Process alt-modfied keystrokes before normal character input
  • 1b5f599 Update key usage examples
  • 4f2d854 Remove the excessive Key.IsRune() method
  • fc37167 Support multi-character input (i.e. Chinese and Japanese IME)
  • eae4d66 Remove duped import
  • 1e02835 Update textinputs for next Bubbles release
  • 30e88cb Bump reflow to v0.2.0 in examples
  • 93adce2 Minor simplification to countdown example
  • 9a3a101 Add timer countdown example
  • 28d5ca1 Add release badge to README
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
CamiloGarciaLaRotta commented 4 years ago

there appears to have been a breaking change in this version bump:

# github.com/charmbracelet/bubbles/textinput
../../go/pkg/mod/github.com/charmbracelet/bubbles@v0.7.1/textinput/textinput.go:397:8: undefined: tea.KeyRune
../../go/pkg/mod/github.com/charmbracelet/bubbles@v0.7.1/textinput/textinput.go:400:11: msg.Rune undefined (type tea.KeyMsg has no field or method Rune)
../../go/pkg/mod/github.com/charmbracelet/bubbles@v0.7.1/textinput/textinput.go:404:11: msg.Rune undefined (type tea.KeyMsg has no field or method Rune)
../../go/pkg/mod/github.com/charmbracelet/bubbles@v0.7.1/textinput/textinput.go:412:56: msg.Rune undefined (type tea.KeyMsg has no field or method Rune)
dependabot[bot] commented 3 years ago

Looks like github.com/charmbracelet/bubbletea is up-to-date now, so this is no longer needed.