Togo on iPhone Duo.

Open it, and the session list sits beside the session you’re in. Fold it, and it’s an iPhone again, with your sessions where you left them.

Folded
The outer screen gets the iPhone layout, and a session opens over the list as it does on iPhone.
Tabletop
Half fold it on a desk. The terminal stays above the fold; requests and the keyboard sit below it.
iPad
The same layout as the open Duo. Split View and Stage Manager change only its size; your tabs and the open session stay.

One free app for iPhone, iPad and iPhone Duo.

Install Togo