mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Fix #918. Get back in the groove
This commit is contained in:
parent
ec5746f09f
commit
e1bc834f5b
@ -613,10 +613,9 @@ func editDiffNumberMenu(bases []Base, installed stringSet, diff bool) ([]Base, e
|
|||||||
var editInput string
|
var editInput string
|
||||||
var err error
|
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 {
|
if diff {
|
||||||
fmt.Println(bold(green(arrow + " Diffs to show?")))
|
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 + " ")))
|
fmt.Print(bold(green(arrow + " ")))
|
||||||
editInput, err = getInput(config.AnswerDiff)
|
editInput, err = getInput(config.AnswerDiff)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -624,6 +623,7 @@ func editDiffNumberMenu(bases []Base, installed stringSet, diff bool) ([]Base, e
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fmt.Println(bold(green(arrow + " PKGBUILDs to edit?")))
|
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 + " ")))
|
fmt.Print(bold(green(arrow + " ")))
|
||||||
editInput, err = getInput(config.AnswerEdit)
|
editInput, err = getInput(config.AnswerEdit)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user