console-rs / dialoguer

Rust utility library for nice command line prompts and similar things
MIT License
1.33k stars 143 forks source link

Tab completion doesn't work on windows. #291

Open redstonerti opened 12 months ago

redstonerti commented 12 months ago

I tried the completion.rs example. It worked fine on arch but not in the windows terminal or visual studio code. On windows, pressing tab just doesn't do anything. The right arrow key still works though.

Gordon01 commented 11 months ago

Hi, the problem is in the underlying crate console: https://github.com/console-rs/console/pull/182 I fixed that a few months later, but since then there have been no releases of the console. And then this crate's dependencies need to be updated.

@mitsuhiko can you make a minor release of the console, please?

@redstonerti as the workaround you can do this in your patch section of Cargo.toml:

console = { git = "https://github.com/console-rs/console" }