From: Quentin Rameau <quinq@fifth.space>
Date: Sat, 30 Jan 2016 16:54:41 +0000 (+0100)
Subject: Extract ttyresize() out of cresize()
X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/6e70bb97d4e98a5e2fa7c5488b0cba1da140b78f?ds=inline;hp=6e70bb97d4e98a5e2fa7c5488b0cba1da140b78f

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>
---