refactor(get_command): spawn rustyline instance from main()

This commit is contained in:
Khaïs COLIN 2025-05-09 17:16:05 +02:00
parent 3d4ab2e2e4
commit fe66326956
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU
4 changed files with 19 additions and 16 deletions

View file

@ -196,7 +196,15 @@ i will use rustyline, since it seems like the most feature-complete
** DONE do the impl
** TODO tweak it to make history work
** TODO make history work
*** DONE have the rl instance be spawned from main
*** TODO figure out how to locate the app data directory on linux
*** TODO create our own app data directory
*** TODO load and save the history from a file in this directory
* TODO handle non-interactive input better