RemoteShellScreen

fun RemoteShellScreen(viewModel: RemoteShellViewModel, onNavigateUp: () -> Unit, modifier: Modifier = Modifier)(source)

Terminal screen for a DMShell session.

In character mode a zero-size field holds keyboard focus, so hardware keys and the soft keyboard both reach the session; what was sent shows underlined at the cursor until the node echoes it. In line mode a composer replaces it and each command goes out as one frame. The extra-keys rows serve both.