mirror of
https://github.com/Jguer/yay
synced 2024-07-21 10:16:10 +00:00
fix(input): fix display in wrong line of number input
This commit is contained in:
parent
c5bea07f64
commit
0e3affd876
|
@ -181,7 +181,7 @@ func (ae *AlpmExecutor) questionCallback() func(question alpm.QuestionAny) {
|
|||
text.OperationInfoln(str)
|
||||
|
||||
for {
|
||||
fmt.Print(gotext.Get("\nEnter a number (default=1): "))
|
||||
fmt.Println(gotext.Get("\nEnter a number (default=1): "))
|
||||
|
||||
// TODO: reenable noconfirm
|
||||
if settings.NoConfirm {
|
||||
|
|
|
@ -548,7 +548,7 @@ func providerMenu(dep string, providers providers, noConfirm bool) *query.Pkg {
|
|||
text.OperationInfoln(str)
|
||||
|
||||
for {
|
||||
fmt.Print(gotext.Get("\nEnter a number (default=1): "))
|
||||
fmt.Println(gotext.Get("\nEnter a number (default=1): "))
|
||||
|
||||
if noConfirm {
|
||||
fmt.Println("1")
|
||||
|
|
Loading…
Reference in a new issue