Closed boxbeam closed 1 year ago
why
rustyline does exactly what we need, no more, no less, and it's extremely simple to use. why would we pull in a much more broad library only to use one small piece of it when rustyline does everything we need?
I think there's a way but I haven't looked into it yet, I think I'd have to do that with the Helper type in rustyline
Found it, https://docs.rs/rustyline/latest/rustyline/validate/trait.Validator.html will do that later
Uses the
rustyline
crate to read lines, giving a much nicer prompt