bubbles

package module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 0 Imported by: 0

README

Bubbles

Some components for Bubble Tea:

  • Spinner
  • Text Input
  • Paginator
  • Viewport

Spinner

A spinner, useful for indicating that some kind of invisible operation is happening. There are a couple default ones, but you can also pass your own ”frames.”

Text Input

A text input field, akin to an <input type="text"> in HTML.

Paginator

A component for handling pagination logic and optionally drawing pagination UI.

Viewport

A viewport for vertically scrolling content which optionally includes standard pager keybindings and mouse wheel support. A high performance mode is available for applications which make use of the alterate screen buffer. This is generally only necessary when dealing with content with a very large amount of ANSI escape sequences.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
package paginator provides a Bubble Tea package for calulating pagination and rendering pagination info.
package paginator provides a Bubble Tea package for calulating pagination and rendering pagination info.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL