This commit is contained in:
Gokcehan 2020-07-22 01:55:21 +03:00
parent c630293cc2
commit 8be63a9c83

10
nav.go
View File

@ -696,10 +696,7 @@ loop:
}
if errCount == 0 {
echosuccess := &callExpr{"echo", []string{""}, 1}
echosuccess.args[0] = "\033[0;32mCopied successfully\033[0m"
ui.exprChan <- echosuccess
ui.exprChan <- &callExpr{"echo", []string{"\033[0;32mCopied successfully\033[0m"}, 1}
}
}
@ -799,10 +796,7 @@ func (nav *nav) moveAsync(ui *ui, srcs []string, dstDir string) {
}
if errCount == 0 {
echosuccess := &callExpr{"echo", []string{""}, 1}
echosuccess.args[0] = "\033[0;32mMoved successfully\033[0m"
ui.exprChan <- echosuccess
ui.exprChan <- &callExpr{"echo", []string{"\033[0;32mMoved successfully\033[0m"}, 1}
}
}