rikhuijzer / ata

Ask the Terminal Anything (ATA): ChatGPT in the terminal
MIT License
274 stars 17 forks source link

Parsing error in zsh on MacOS #36

Closed isaacwasserman closed 5 months ago

isaacwasserman commented 5 months ago

When using inside of zsh in the standard MacOS terminal application, submitting a prompt returns the error: prompt::request failed with: EOF while parsing a string at line 1 column 148 (the exact numbers depend on the prompt). If I open in bash or sh, I have no issues. Additionally, if I open a nested instance of zsh inside zsh, I can run it without issues.

Environment: MacOS: 14.2.1 zsh: 5.9 ata: 2.0.2

rikhuijzer commented 5 months ago

I cannot reproduce this. It might have been fixed in v2.0.3 due to updating to a newer rustyline version.

isaacwasserman commented 5 months ago

Yes, 2.0.3 fixed it. Thanks.