feat(branding): show the FWS fork version in --version

Display the fork name, version and maintainer beneath the upstream kitty
version so this build is identifiable without hiding upstream credit.
This commit is contained in:
BlackAngelTV committed 2026-11-12 13:22:10 +01:00
1 parent c1d4ca8c2d
commit 58fc9d1aa3
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -30,7 +30,8 @@ func ShowError(err error) {
}
func (self *Command) version_string(formatter *markup.Context) string {
return fmt.Sprintln(formatter.Italic(self.CommandStringForUsage()), formatter.Opt(kitty.VersionString+kitty.VersionSuffix), "created by", formatter.Title("Kovid Goyal"))
return fmt.Sprintln(formatter.Italic(self.CommandStringForUsage()), formatter.Opt(kitty.VersionString+kitty.VersionSuffix), "created by", formatter.Title("Kovid Goyal")) +
fmt.Sprintln(formatter.Italic("fws-kitty"), formatter.Opt("0.1.6"), "by", formatter.Title("BlackAngelTV"))
}
func (self *Command) ShowVersion() {