From ea3710545ab89638cd215fe333238934d58f0f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomo=20Syv=C3=A4nper=C3=A4?= Date: Tue, 8 Oct 2019 21:57:04 +0300 Subject: [PATCH] Change log and flash message to be more accurate --- internal/views/details.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/views/details.go b/internal/views/details.go index 3d31560b..fcd6432e 100644 --- a/internal/views/details.go +++ b/internal/views/details.go @@ -114,12 +114,11 @@ func (v *detailsView) saveCmd(evt *tcell.EventKey) *tcell.EventKey { } func (v *detailsView) cpCmd(evt *tcell.EventKey) *tcell.EventKey { - log.Debug().Msgf("Copied YAML to clipboard") - v.app.Flash().Info("YAML copied to clipboard...") + log.Debug().Msgf("Copied content to clipboard") + v.app.Flash().Info("Content copied to clipboard...") if err := clipboard.WriteAll(v.GetText(true)); err != nil { v.app.Flash().Err(err) } - return nil }