Could you clarify what you mean by packet? Are you talking about HTTP requests or about the new non-HTTP TCP streams? The UI/UX for the latter is very much work-in-progress.
I am talking about the HTTP requests.
The currently focused flow should never change when a new one comes in. If that's happening to you, please file a bug over on GitHub or ping me on our dev Slack and we'll get this fixed ASAP. :)
Suppose I have set an interception filter and I am viewing a live packet. I am about to edit it, etc.
But when a new packet arrives, the text UI moves to the new packet! I have lost the packet that I was looking a few seconds ago.
Is this an issue in mitmproxy or am doing things the wrong way?