mirror of
https://github.com/Jguer/yay.git
synced 2025-10-05 00:08:30 -04: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…
x
Reference in New Issue
Block a user