Feature Request: Smart Terminal Numbering with Reset

Resolved 💬 2 comments Opened Feb 2, 2026 by Ainformed Closed Mar 3, 2026

Feature Request: Smart Terminal Numbering

Current Behavior

Terminal tabs are numbered sequentially (bash_1, bash_2, bash_3) and numbers keep incrementing even when terminals are closed. If you open and close many terminals during a session, you might end up with bash_47 as your only active terminal.

Desired Behavior

  1. Sequential numbering based on order opened (1, 2, 3)
  2. Numbers reset to 1 when all terminals are closed
  3. Optionally: Reuse lowest available number when a terminal is closed (e.g., if bash_2 closes while bash_1 and bash_3 are open, the next new terminal becomes bash_2)

Use Case

Better overview and easier navigation when working with multiple background terminals. The current behavior can be confusing when the numbers don't reflect the actual number of open terminals.

Related Issues

  • #7291: Shell ID tracking issues
  • #7069: Native Background Task Management request

Additional Context

This is a quality-of-life improvement that would help users maintain better mental models of their active terminal sessions.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗