Skip to main content

handle_pty_shell_resize

Function handle_pty_shell_resize 

Source
pub(super) async fn handle_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).