Added support to save active wallet when cli gets terminated by CTRL+C (and possibly by other different interruption)
@@ -994,6 +994,7 @@ class Cli:
for c in cmds:
self.parse(c)
except (EOFError, KeyboardInterrupt, Exit):
+ self._saveActiveWallet()
break
self.print('Goodbye.')
