simplewallet: fix prompt formatting

This commit is contained in:
jpk68
2026-07-13 17:27:55 -04:00
parent 0f84863fed
commit a79f524fef
+1 -1
View File
@@ -5173,7 +5173,7 @@ void simple_wallet::check_background_mining(const epee::wipeable_string &passwor
message_writer() << tr("The daemon is not set up to background mine."); message_writer() << tr("The daemon is not set up to background mine.");
message_writer() << tr("With background mining enabled, the daemon will mine when idle and not on battery."); message_writer() << tr("With background mining enabled, the daemon will mine when idle and not on battery.");
message_writer() << tr("Enabling this supports the network you are using, and makes you eligible for receiving new monero"); message_writer() << tr("Enabling this supports the network you are using, and makes you eligible for receiving new monero");
std::string accepted = input_line(tr("Do you want to do it now? (Y/Yes/N/No): ")); std::string accepted = input_line(tr("Do you want to do it now? (Y/Yes/N/No)"));
if (std::cin.eof() || !command_line::is_yes(accepted)) { if (std::cin.eof() || !command_line::is_yes(accepted)) {
m_wallet->setup_background_mining(tools::wallet2::BackgroundMiningNo); m_wallet->setup_background_mining(tools::wallet2::BackgroundMiningNo);
m_wallet->rewrite(m_wallet_file, password); m_wallet->rewrite(m_wallet_file, password);