micro-editor / micro-editor/micro
copy/paste got step shape result
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
While using CtrlCCtrlV to copy/paste multiple line, I got step shape result shown bellow


If i disable autoindent, the result is correct.
Specifications
Commit hash:b9763856
OS: Windows 10 Home 22581.1.amd64fre.ni_release.220318-1623
Terminal:Windows Terminal
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the multiline Ctrl+C/Ctrl+V case on Windows 10 in Windows Terminal using commit b9763856, comparing autoindent enabled and disabled. Then trace the editor's paste and autoindent handling; done means multiline paste produces the correct step shape with autoindent enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100