microsoft / microsoft/terminal

Ability to identify pane ids

Open
#10,708 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-UserInterface Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement
If features are going to be added that rely on the user providing a pane id, e.g. `focus-pane $id` or `swap-panes -s $sid -t $tid` it would be helpful to have a command (perhaps `identify-pane`) that identifies what the ids of each pane are. This would require making the currently internal `_id` public, or choosing some other method of identifying each pane.

This might look like (briefly?) showing the id centered in each pane (excuse the paint mockup)

![image](https://user-images.githubusercontent.com/6185249/126178368-02cf3e06-703c-49e5-9836-19104cb7f130.png)

# Proposed technical implementation details (optional)

Contributor guide

Open the contributing guide

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 reviewing the issue's examples, including `focus-pane $id`, `swap-panes -s $sid -t $tid`, and the proposed `identify-pane` command. Examine how the internal `_id` is represented and determine whether it can be exposed or another identification method is needed. Done means users can identify each pane's id, potentially through an id displayed in each pane.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.