Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong cursor position #34

Closed
MohammadSabriExalt opened this issue Mar 14, 2023 · 4 comments
Closed

wrong cursor position #34

MohammadSabriExalt opened this issue Mar 14, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@MohammadSabriExalt
Copy link

An ambiguous behavior happens when I write some characters in the terminal and click on the left arrow, the cursor position indicates that I am at the last character, but actually it's behind it.

The issue will be clear when i tried to clean what was written and press the backspace, it will leave some characters unremoved

To Reproduce

  1. write some characters to the terminal :ex 'ABCD'
  2. press the left arrow 3 times
  3. wrie another characters ex: 'EFG'
  4. the terminal shows (AEFGBCD)
  5. press down and hold the backspace to remove all
  6. The terminal will shows "BCD" and the cursor blinking after the "D"

Expected behavior
clear indication for the cursor position

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image

@github-actions
Copy link

Thank you for taking the time to submit an Issue!
You should get a response to this issue within one to two days.

@jonmbake jonmbake added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Mar 18, 2023
@jonmbake
Copy link
Owner

@MohammadSabriExalt Thanks for opening this issue. I'll work on fixing it within the next few days.

@jonmbake jonmbake self-assigned this Mar 18, 2023
@jonmbake
Copy link
Owner

Fixed the bug. Opened a feature request, #36, to add support for moving cursor with left/right arrows.

@MohammadSabriExalt
Copy link
Author

@jonmbake , I appreciate the time and effort you put into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants