micro-editor / micro-editor/micro

ESC not honored during replace command (possibly elsewhere too)

Open
#1,994 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Give a replace command such as: replace \s+ whatever
The options show (y,n,esc). y and n work but esc doesn't and you're stuck in the replace command indefinitely.

Specifications

Commit hash:

Version: 2.0.8
Commit hash: cfcb2e45
Compiled on October 06, 2020

OS: Win7
Terminal:

Contributor guide

No contributing guide indexed for this repository

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 replace \s+ whatever in micro 2.0.8 on the reported Windows 7 environment, focusing on the y/n/esc prompt described in the issue. Done means pressing ESC exits the replace command instead of leaving it stuck; check whether the same behavior occurs elsewhere only if the investigation reveals it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.