Alfex4936 / Bard-rs

Google Gemini CLI with Rust (Previsouly Bard)
MIT License
83 stars 17 forks source link

Can't use arrow key in bard-rs shell for nav #2

Closed noman-test closed 1 year ago

noman-test commented 1 year ago

Arrow key will been ANSI escape code when input that in bard-rs interactive shell.

Alfex4936 commented 1 year ago

May I ask which terminal are you using so I can test correctly?

Thanks in advance

noman-test commented 1 year ago

macOS Ventura 13.2.1 terminal: Alacritty But other terminals also have this problem.

Alfex4936 commented 1 year ago

Can you try git version?

git clone https://github.com/Alfex4936/Bard-rs

cd Bard-rs

echo "SESSION_ID=your" > .env

cargo run -- -e .env
noman-test commented 1 year ago

Arrow key in git version works. Thx