oxen-core icon indicating copy to clipboard operation
oxen-core copied to clipboard

CLI wallet readline support

Open jagerman opened this issue 5 years ago • 2 comments

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.

jagerman avatar Nov 26 '20 03:11 jagerman

Would you do this after every command is executed?

Such as Encrypt(command) -> prepend to history file

darcys22 avatar Nov 26 '20 03:11 darcys22

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

jagerman avatar Nov 26 '20 03:11 jagerman