di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.98k stars 318 forks source link

[Bug]: Cursor Disappears #134

Open Haki-Malai opened 1 year ago

Haki-Malai commented 1 year ago

Opencommit Version

9.2.0

Node Version

v18.0.0

NPM Version

9.2.0

What OS are you seeing the problem on?

Other Linux Distro

What happened?

When the scripts return a not 0 exit status, the cursor/insertion point goes invisible. That includes when the script return error for xyz reason or when the user stops the script.

Expected Behavior

I don't expect the cursor to disappear on not 0 exit status.

Current Behavior

When the scripts return a not 0 exit status the cursor/insertion point goes invisible. I tested this in the default .bashrc and it does happen as expected. It also reapears when the scripts reruns and exit status is 1.

Possible Solution

It's possible to be an issue with characters such as: ✖

Steps to Reproduce

Use Konsole on Arch Linux.

Relevant log output

No response

YangchenYe323 commented 1 year ago

I'm having the same issue on my Mac, too. What are the possible causes?

di-sukharev commented 1 year ago

@YangchenYe323 i could not reproduce it with Mac now.. who wants to investigate and make a PR?

deonthomasgy commented 1 year ago

having the issue on Linux too, try to commit a large file that will trigger a 400 error after that the cursor will disappear until you open another program like vim,htop..

github-actions[bot] commented 1 year ago

Stale issue message