From a8ec044f0e52bff8921592fb4d334a4d6f4c7468 Mon Sep 17 00:00:00 2001 From: Elwardi Date: Thu, 5 Aug 2021 15:24:17 +0100 Subject: Make menuFromCommand format menu items and their description --- pkg/config/user_config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/config') diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 38259f6f2..239a79acf 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -285,7 +285,8 @@ type CustomCommandPrompt struct { // this only applies to menuFromCommand Command string `yaml:"command"` Filter string `yaml:"filter"` - Format string `yaml:"format"` + TFormat string `yaml:"itemFormat"` + DFormat string `yaml:"descriptionFormat"` } type CustomCommandMenuOption struct { -- cgit v1.2.3