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.19.3 to 0.21.0 #39

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps github.com/charmbracelet/bubbletea from 0.19.3 to 0.21.0.

Release notes

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

v0.21.0

Spawn Interactive Processes + More Keybindings

Finally! This update allows you to run blocking, interactive processes from Bubble Tea like vim, htop, curl, and even entire shells like fish. It also adds a bunch of new keybindings. Read on for more!

Let’s Exec

As we were saying, you can now spawn interactive processes in the terminal from Bubble Tea and resume Bubble Tea when they exit. For example, you could have your Bubble Tea program spawn vim to edit a file, or temporarily open a shell, like fish. Here’s what it looks like:

type editorFinishedMsg struct{ err error }

func openInVim(path string) tea.Cmd { c := exec.Command("vim", path) return tea.ExecProcess(c, func(err error) tea.Msg { return editorFinishedMsg{err} }) }

See the full example for details.

Keys Galore

Prior to this update, you couldn't bind to the functions keys. Isn't that crazy? @​mrusme certainly thought so. With this update you can can now respond to F1 through F20, modifiers included.

And thanks to @​bwahharharrr you can also now bind to arrow keys with the ctrl, shift and alt modifiers.


High-Level Changelog

New

Changed

New Contributors

... (truncated)

Commits
  • 775dbfb chore(exec): small API edits (#323)
  • 9705056 docs: improve godoc on tick and every (#320)
  • a5f28a3 docs: fixed mentions to exec.Command
  • d301ee0 change(keys): spacebar sends a KeySpace (#315)
  • bfb1668 fix: update tests for space input
  • d3fb1b7 feat: obliterate type KeySpace
  • 48cdc1e feat(keys): add support for shift/ctrl + arrow keys (#292)
  • 14e58aa fix(keys): spacebar now sends a KeySpace (#289)
  • 3795c03 add: Exec, ReleaseTerminal and RestoreTerminal to re-use input and terminal (...
  • ecba57e chore(deps): bump actions/setup-go from 2 to 3
  • 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)
dependabot[bot] commented 2 years ago

Superseded by #42.