Version 1.0.0, release build script

- version.go/version.txt, --version flag, version in the help title
- build.sh builds static binaries for macOS and Linux into ./bin
- make build/install inject version.txt, make dist runs build.sh
- README: binary downloads; development docs: release process

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
mikeandClaude Opus 5.5 committed 2026-10-22 13:29:39 +02:00
1 parent 156bb18c91
commit e5750ef24b
9 files changed
+162 -9

No files matched your search

+6 -2
View File
@@ -99,10 +99,14 @@ func (d *dialog) view(width, height int) string {
return framed(d.title, content, w, len(lines)+2, color)
}
func helpDialog() *dialog {
func helpDialog(version string) *dialog {
k := func(key, desc string) string { return stKey.Render(fit(key, 16)) + desc }
title := "Help"
if version != "" {
title = "Help · ghosttyconf " + version
}
return &dialog{
title: "Help",
title: title,
lines: []string{
stBold.Render("Browsing"),
k("↑↓ / j k", "move"),