simplify flash

mine
Gustavo Paiva 2019-09-19 02:48:18 -03:00
parent d027211ded
commit e2f8a70077
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func (v *resourceView) cpCmd(evt *tcell.EventKey) *tcell.EventKey {
log.Debug().Msgf("Copied selection to clipboard %q", n)
v.app.Flash().Info("Current selection copied to clipboard...")
if err := clipboard.WriteAll(n); err != nil {
v.app.Flash().Errf("%s", err.Error())
v.app.Flash().Err(err)
}
return nil