r3bl-open-core
r3bl-open-core copied to clipboard
Replace the use of readline w/ tuify in the demos
Currently in the r3bl_tui
crate (the tui
folder of this repo) the examples ask the user for input. When a user runs ./run.nu run
, they have to press a number between 0-5.
Instead they should be presented w/ a single selection component provided by r3bl_tuify
create. This entails:
- Adding the r3bl_tuify crate as a dependency in
tui/Cargo.toml
- Remove the dependency on
reedline
fromtui/Cargo.toml
. Maybe check to see if any otherCargo.toml
files in this repo are usingreedline
and remove them as well. - Replacing the use of
Reedline
code withselect_from_list()