monero icon indicating copy to clipboard operation
monero copied to clipboard

set simple counter to exit after too many loops

Open selsta opened this issue 3 years ago • 3 comments

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

selsta avatar May 14 '21 03:05 selsta

<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.

mj-xmr avatar May 14 '21 21:05 mj-xmr

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.

lalanza808 avatar May 19 '21 23:05 lalanza808

That feels wrong somehow. Not hugely though I guess.

moneromooo-monero avatar Jun 03 '21 23:06 moneromooo-monero

#8754

selsta avatar Mar 06 '23 02:03 selsta