suspendProcess

abstract suspend fun suspendProcess(): Boolean

Stops the process like Ctrl+Z normally does in a shell, with the terminal released, and returns once the shell continues it, like with fg. Returns false right away when canSuspendProcess is false.

Ctrl+Z does this already when no key handler consumes it.