oxen-core
oxen-core copied to clipboard
CLI wallet readline support
We use readline (at least for non-static linux builds), and it would be nice to optionally incorporate readline's history support. We'd still want to encrypt the history file with the wallet password, and would want it to be optional, but it would be great (especially for testing) to have persistent history.
Would you do this after every command is executed?
Such as Encrypt(command) -> prepend to history file
No, just when saving to disk when you exit, or perhaps when you explicitly save (basically whenever it encrypts and writes the wallet cache to disk).