feat: show program version in F1 help dialog footer

This commit is contained in:
vrubelroman 2026-04-27 16:26:01 +03:00
parent 68f340ee7d
commit db5eaba409

View file

@ -23,6 +23,8 @@ import (
"vcom/internal/theme"
)
const version = "v0.1.9"
type modalKind int
const (
@ -1926,7 +1928,7 @@ func (m *Model) openHelpModal() {
kind: modalHelp,
title: "Keyboard and Mouse Help",
body: strings.Join(sections, "\n"),
note: "F1/? or Esc to close",
note: version + " — F1/? or Esc to close",
}
m.status = "Help opened"
}