Merge pull request #6058

88b82bef simplewallet: point to "set help" in the lock screen message (moneromooo-monero)
f19c9f23 util: allow newlines in string to be split (moneromooo-monero)
This commit is contained in:
Alexander Blair 2020-02-28 19:54:37 -08:00
commit 8c2939a7cb
No known key found for this signature in database
GPG key ID: C64552D877C32479
2 changed files with 15 additions and 2 deletions

View file

@ -6218,7 +6218,7 @@ void simple_wallet::check_for_inactivity_lock(bool user)
m_in_command = true;
if (!user)
{
const std::string speech = tr("I locked your Monero wallet to protect you while you were away");
const std::string speech = tr("I locked your Monero wallet to protect you while you were away\nsee \"help_advanced set\" to configure/disable");
std::vector<std::pair<std::string, size_t>> lines = tools::split_string_by_width(speech, 45);
size_t max_len = 0;