From 5c4ce9a7328d86e519d01e8f050ff12e839d9947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Thu, 20 Jun 2024 22:40:44 -0700 Subject: [PATCH] shorten up table help a bit --- internal/tables/tables.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/tables/tables.go b/internal/tables/tables.go index 8a6621d..b330f29 100644 --- a/internal/tables/tables.go +++ b/internal/tables/tables.go @@ -204,7 +204,7 @@ func defaultKeyMap() keyMap { ), todo: key.NewBinding( key.WithKeys("a", "ctrl+a"), - key.WithHelp("a", "all"), + key.WithHelp("a", "select all"), ), nada: key.NewBinding( key.WithKeys("n", "ctrl+n"), @@ -336,9 +336,9 @@ func (m model) header() string { default: mode = m.mode.String() } - mode += fmt.Sprintf(" %s select %s", dot, strings.Join(select_keys, wide_dot)) + mode += fmt.Sprintf(" %s %s", dot, strings.Join(select_keys, wide_dot)) - return fmt.Sprintf(" %s %s %d/%d selected", mode, dot, len(m.selected), len(m.table.Rows())) + return fmt.Sprintf(" %s %s %d/%d", mode, dot, len(m.selected), len(m.table.Rows())) } func (m model) footer() string {