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

Cursor position when initial is specified #249

Open
keenahn opened this issue Jan 4, 2020 · 2 comments
Open

Cursor position when initial is specified #249

keenahn opened this issue Jan 4, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@keenahn
Copy link

keenahn commented Jan 4, 2020

Describe the bug

If initial is specified for a text prompt, the cursor is pinned to the right (visually). I can move the cursor left and right and delete characters, but it looks off. This was not present in 2.1 (and I proved this by reverting my local app to use 2.1)

To Reproduce

Create a text question with an initial string.

Expected behavior

It should be editable as normal as it was in 2.1

System

  • OS: Ubuntu 19
  • Terminal: Kitty + Tmux
  • Node version: 12

Additional context

Add any other context about the problem here.

@terkelg terkelg added the bug Something isn't working label Feb 14, 2020
@terkelg
Copy link
Owner

terkelg commented Feb 14, 2020

Thank you for reporting the bug @keenahn. Would you have time to look into this and make a PR?

@krishna-acondy
Copy link
Contributor

@keenahn A fix for this has been released in version 2.4.1.
It'd be great if you could give it a test and close this issue if it works. Thanks! 🙌🏽

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

3 participants