microsoft / microsoft/winget-create

When using NEW command and then entering the URLs, the cursor was a character to the right of where you are editing.

Open
#242 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

Brief description of your issue

I was entering a few URLs into a NEW project
The URLs were all the same except for the architecture.
When I back spaced to change the URL, I deleted the wrong characters, because the cursor is to the right of where the edits occur:

example:
kevin []
in the line above, the square is the cursor. If i hit back, you would think i could type an L to fix it to be kevinla. but instead, the tool deletes the N.

Steps to reproduce

wingetcreate new
URL 1
URL 2

Expected behavior

the cursor to be consistent with the command window behaviour

Actual behavior

see above

Environment
Windows Package Manager Manifest Creator v0.5.0.1

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

Start by reproducing the issue with wingetcreate new in the Windows Package Manager Manifest Creator v0.5.0.1 environment, entering similar URLs and using backspace. Inspect the command-line input handling, and consider the issue done when cursor positioning and backspace editing match normal command-window behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.