kojix2 / chatgpt-cli

Yet another ChatGPT command line tool
https://kojix2.github.io/chatgpt-cli/
MIT License
25 stars 1 forks source link

Terminal crashes on macOS #5

Open kojix2 opened 1 year ago

kojix2 commented 1 year ago

When using chatgpt-cli on macOS, unintended abnormal termination of the terminal often occurs. The cause is unknown. (I am a Japanese speaker, so there is a possibility that the trouble is related to using Japanese in the terminal.)

kojix2 commented 1 year ago

I have never experienced anything similar to this on Ubuntu's Gnome terminal.

The full error report on macOS did not have any strings like readline or chatgpt. It is a terminal crash. Thinking about it, even if chatgpt-cli crashes, Terminal should not crash abnormally; is it something in readline or some invalid string or Japanese Kana-Kanji conversion that causes it?

If anyone can guess why chatgpt-cli causes Terminal to terminate abnormally, I would appreciate it if you could let me know.

kojix2 commented 1 year ago

This problem is more serious than I thought. I experienced a problem with the terminal not starting on my Mac Mini. iTerm2 is recommended for use with macOS. iTerm2 has not experienced any problems. This problem has been automatically sent to Apple and I hope it will eventually be resolved in an update.

kojix2 commented 1 year ago

Since using iterm2, it has not crashed once. I think there is something wrong with the default terminal on the Mac.