micro-editor / micro-editor/micro

Tabs with splits return ID() = 0 (in Lua)

Open
#4,186 1 comment 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.