Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the use of readline w/ tuify in the demos #189

Open
nazmulidris opened this issue Nov 3, 2023 · 0 comments
Open

Replace the use of readline w/ tuify in the demos #189

nazmulidris opened this issue Nov 3, 2023 · 0 comments

Comments

@nazmulidris
Copy link
Member

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.

image

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 from tui/Cargo.toml. Maybe check to see if any other Cargo.toml files in this repo are using reedline and remove them as well.
  • Replacing the use of Reedline code with select_from_list()
@NadiaIdris NadiaIdris changed the title [tui] Replace the use of reedline w/ tuify in the demos Replace the use of readline w/ tuify in the demos Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants