micro-editor / micro-editor/micro
"savecursor": true does not work on Windows
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
Set settings.json "savecursor": true on Windows.
Open file, move cursor down.
Close file.
When trying to reopen same file shows error as "invalid handle".
When checking .config/micro/buffers there is only one file called "C" in that directory.
Specifications
settings.json "savecursor": true does not work on Windows.
Version: 1.1.5-dev.163
Commit hash: 67ec0d3
Compiled on May 04, 2017
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
Start by reproducing the issue on Windows with savecursor enabled in settings.json, then inspect how the .config/micro/buffers directory is written and read when reopening a file. Done means the buffer state is stored correctly instead of creating only a file named "C", and reopening the file no longer reports an "invalid handle" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100