Extract ttyresize() out of cresize()
This way we can call cresize() to set the terminal size before creating a tty or spawning a process, which will start with the correct size. Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-505-g31b4d79a84