cURL
curl --request POST \ --url http://localhost:2468/v1/processes/{id}/terminal/resize \ --header 'Content-Type: application/json' \ --data ' { "cols": 1, "rows": 1 } '
{ "cols": 1, "rows": 1 }
Sets the PTY window size (columns and rows) for a tty-mode process and sends SIGWINCH so the child process can adapt.
Process ID
x >= 0
Resize accepted