terminal: Window size ioctls
authorCallum Lowcay <callum@callumscode.com>
Fri, 7 Jan 2011 19:46:56 +0000 (19:46 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 8 Jan 2011 20:15:09 +0000 (15:15 -0500)
commita0ee21c7dcca37864552f9fe6e685e70255d5977
tree815a4933bdd8cfb9023c8729824e329a265821d4
parent30eeae55e0b82f6e7025b284f154a2d307eada4a
terminal: Window size ioctls

Use TIOCSWINSZ ioctl to set window size on terminal resize.
This causes applications to be notified of the resize event.

Signed-off-by: Callum Lowcay <callum@callumscode.com>
clients/terminal.c