micro-editor / micro-editor/micro
Tabs with splits return ID() = 0 (in Lua)
Open
Nobody has claimed this yet.
bug
triage
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description
When you create a second pane in a tab, the ID method of the tab starts always returning 0
steps to reproduce: create a tab, create a second pane in that tab, debugprint the return value of ID()
Environment
- Version: 2.0.13
- OS: Linux Mint
- Terminal: gnome-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
Start by reproducing the Lua ID() behavior described: create a tab, create a second pane, and debugprint ID(). Trace the tab and pane handling involved in that Lua entry point, then verify that the tab ID remains correct after a split on Linux Mint with the reported version scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100