Description
When running xbps-install (e.g., sudo xbps-install -Su <pkgname>), XBPS prompts the user for confirmation before executing the transaction.
Currently, if the user hits Enter without typing an answer, XBPS treats it as a default affirmative and proceeds with the installation.
Proposed Change
Modify the prompt handling so that pressing Enter does not automatically proceed. Instead, pressing Enter should either be ignored (looping or requiring an explicit y/n response) or completely remove the automatic fallback to "yes" so that accidental keypresses don't initiate package transactions.
Description
When running
xbps-install(e.g.,sudo xbps-install -Su <pkgname>), XBPS prompts the user for confirmation before executing the transaction.Currently, if the user hits Enter without typing an answer, XBPS treats it as a default affirmative and proceeds with the installation.
Proposed Change
Modify the prompt handling so that pressing Enter does not automatically proceed. Instead, pressing Enter should either be ignored (looping or requiring an explicit
y/nresponse) or completely remove the automatic fallback to "yes" so that accidental keypresses don't initiate package transactions.