mitmproxy / mitmproxy/mitmproxy

Cursorline in the TUI to indicate the currently selected flow in the flow list

Open
#7,838 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature
Dominant language
Python
Stars
45.1k
Forks
4.7k
Avg merge
21h 12m
Merged PRs (30d)
16

Description

Problem Description

When using the TUI, it is not always easy to see at a glance where I am in the flow list, especially if I am visually focusing on some of the columns towards the right of the pane (content type, size, etc).

Proposal

The background of currently selected flow/line should be a slightly different color to the rest. Something similar to the cursorline feature in most text editors. Maybe the color could be configurable.

Alternatives

I have not considered alternatives, as this seems like the natural solution.

Additional context

None.

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 locating the TUI flow-list entry point and the code that renders the currently selected flow. Check how row colors or selection styling are handled elsewhere before deciding whether configuration is already supported. Done means the selected flow is visibly distinct from other rows, including when viewing columns on the right.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.