rikhuijzer / ata

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

Avoid chopping of last character from input #33

Closed digitalsurgeon closed 1 year ago

digitalsurgeon commented 1 year ago

fix an issue where the last character from string is chopped off regardless of if its a newline char or not

rikhuijzer commented 1 year ago

Thank you very much, Ahmad. I’m currently away from computer for a few days but you’re right that this is a bug and should be fixed. I’ll review this soon so that we can get this fixed 👍👍