monero
monero copied to clipboard
set simple counter to exit after too many loops
The inactivity lock screen will endlessly prompt for password and ctrl+c does not work to exit the session. I typically resort to ctrl+z and killing the PID or starting another SSH session and killing a container (depending on how I'm running monero-wallet-cli
).
This should (hopefully) improve UX a tiny bit.
(Opened for @ lalanza808)
Closes #6192
<mj-xmr_> But I'm sure that any type of exception would be better than just exit(3)
<selsta> The wallet should save before closing.
<mj-xmr_> selsta, won't an exception auto-save it?
<selsta> I don't know.
<mj-xmr_> OK. Something to check for sure.
<selsta> But if the wallet closes without saving it always results in bad user experience.
Working on this in on my fork's PR: https://github.com/lalanza808/monero/pull/1/files
Got almost all the feedback accounted for, though still trying to figure out how to exit cleanly. Working with selsta in #monero-dev to try and figure it out.
That feels wrong somehow. Not hugely though I guess.
#8754