Skip to content
sevirPublic

About

A Bubbles Gum functions for Gopherlua

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gluagum

This is a lua module for using TUI components of charmbracelet/bubbles

Usage

local gum = require("gluagum")

-- Pass a table of options and an optional title.
local selected = gum.selectable_list({"Option A", "Option B", "Option C"}, "Choose One")
print("You selected:", selected)

-- File picker with file names.
local file = gum.filepicker({"doc.txt", "pic.png", "report.pdf"}, "Select a File")
print("You selected file:", file)

-- Progress bar starting at 0.2 (20%) with a 300ms update interval.
gum.progress(0.2, 300) -- No return value

-- Input text with a custom placeholder.
local input = gum.input_text("Your name:")
print("You entered:", input)

-- Text area with a custom placeholder.
local text = gum.text_area("Enter your multi-line text here...")
print("You entered:", text)

Tasks

tag

Add a new tag and create latest tag if not exists

TAG_VERSION=$(convco version -b)
git tag -a v$TAG_VERSION -m "$MSG"
git push origin v$TAG_VERSION
git tag -f latest -m "$MSG"
git push -f origin latest

changelog

Generate changelog

convco changelog > CHANGELOG.md
git add CHANGELOG.md
git commit -m "Update CHANGELOG.md"

refresh-dependencies

Refresh dependencies

go mod tidy

About

A Bubbles Gum functions for Gopherlua

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages