Skip to main content

pty_shell_resize

Function pty_shell_resize 

Source
async fn pty_shell_resize(
    __arg0: State<AppState>,
    __arg1: Json<PtyShellResizeRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/ptyshell/resize — resize the PTY. Some TUIs render differently or wrap badly at the fallback geometry (25x200).