Extract ttyresize() out of cresize()
authorQuentin Rameau <quinq@fifth.space>
Sat, 30 Jan 2016 16:54:41 +0000 (17:54 +0100)
committerChristoph Lohmann <20h@r-36.net>
Sat, 30 Jan 2016 17:40:13 +0000 (18:40 +0100)
commit6e70bb97d4e98a5e2fa7c5488b0cba1da140b78f
tree86d572ff22a17c848079353ca9e9f764c16e5f04
parent82335583eba15e87749d0e663270353005fca30b
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>
st.c