github charmbracelet/bubbles v0.7.9

latest releases: v2.0.0-alpha.1, v0.20.0, v0.19.0...
3 years ago

Minor Textinput Updates

This is a minor PR that improves the textinput API and behavior when dealing with masked input, such as passwords.

Changed

  • SetCursor(int), CursorStart() and CursorEnd() no longer return values.
  • If EchoMode is not EchoNormal word-to-word movement instead jumps to the beginning and end. Word-based deletion also deletes to the beginning and end.

New

  • Cursor() int returns the cursor position.

Removed

  • Removed Cursor string, which did absolutely nothing.

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter and The Fediverse, or right here in GitHub Discussions.

The Charm logo

Don't miss a new bubbles release

NewReleases is sending notifications on new releases.