Fix #918. Get back in the groove

This commit is contained in:
Jguer 2019-03-29 22:05:04 +00:00
parent ec5746f09f
commit e1bc834f5b
No known key found for this signature in database
GPG Key ID: 09754DBECF21746F

View File

@ -613,10 +613,9 @@ func editDiffNumberMenu(bases []Base, installed stringSet, diff bool) ([]Base, e
var editInput string
var err error
fmt.Println(bold(green(arrow) + cyan(" [N]one ") + "[A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)"))
if diff {
fmt.Println(bold(green(arrow + " Diffs to show?")))
fmt.Println(bold(green(arrow) + cyan(" [N]one ") + "[A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)"))
fmt.Print(bold(green(arrow + " ")))
editInput, err = getInput(config.AnswerDiff)
if err != nil {
@ -624,6 +623,7 @@ func editDiffNumberMenu(bases []Base, installed stringSet, diff bool) ([]Base, e
}
} else {
fmt.Println(bold(green(arrow + " PKGBUILDs to edit?")))
fmt.Println(bold(green(arrow) + cyan(" [N]one ") + "[A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)"))
fmt.Print(bold(green(arrow + " ")))
editInput, err = getInput(config.AnswerEdit)
if err != nil {