di-sukharev / di-sukharev/opencommit

[Bug]: Cursor Disappears

Open
#134 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
7.5k
Forks
445
Avg merge
18m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in Konsole on Arch Linux using the reported Opencommit, Node, and npm versions, including an erroring or interrupted script. Trace the handling of nonzero script exits and verify that the terminal cursor remains visible afterward, including when the ✖ character is displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.