diff --git a/update/menu.go b/update/menu.go index bfd89dbb9f..ce0b9a6c8c 100644 --- a/update/menu.go +++ b/update/menu.go @@ -205,7 +205,7 @@ func (m *Menu) Print() { func (m *Menu) printInteractive() { m.wr.clear() - m.wr.writeln(" " + tableHeading) + m.wr.writeln(" " + tableHeading) i := 0 var previd flux.ResourceID for _, item := range m.items { @@ -217,7 +217,7 @@ func (m *Menu) printInteractive() { } } m.wr.writeln("") - m.wr.writeln("Use arrow keys and [Space] to deselect containers; hit [Enter] to release selected.") + m.wr.writeln("Use arrow keys and [Space] to toggle updates; hit [Enter] to release selected.") m.wr.flush() } @@ -237,6 +237,7 @@ func (m *Menu) renderInteractiveItem(item menuItem, inline bool, index int) stri } else { pre.WriteString(" ") } + pre.WriteString(" ") pre.WriteString(item.checkbox()) pre.WriteString(" ") pre.WriteString(m.renderItem(item, inline)) diff --git a/update/menu_win.go b/update/menu_win.go index b6e8ce5f8b..a6a53586df 100644 --- a/update/menu_win.go +++ b/update/menu_win.go @@ -9,5 +9,5 @@ func terminalWidth() uint16 { } func getChar() (ascii int, keyCode int, err error) { - return 0, 0, errors.New("Error: interactive mode not supported on Windows") + return 0, 0, errors.New("Error: interactive mode is not supported on Windows") }