diff options
Diffstat (limited to 'screens/root.go')
| -rw-r--r-- | screens/root.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/screens/root.go b/screens/root.go index 10d0b62..fee061d 100644 --- a/screens/root.go +++ b/screens/root.go @@ -1,6 +1,10 @@ package screens -import tea "github.com/charmbracelet/bubbletea" +import ( + "fmt" + + tea "github.com/charmbracelet/bubbletea" +) type rootScreen struct{} @@ -26,5 +30,7 @@ func (r *rootScreen) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } func (r *rootScreen) View() string { - return "Welcome to Nectar!\nPress Ctrl+C to exit. Press 'a' to go to the auxiliary screen." + return fmt.Sprintf(`Nectar - Version: %s - Build Date: %s +Press 'a' to go to the auxiliary screen. Press 'q' to quit. +`, globals.version, globals.buildDate) } |
