terminal: Handle the window close event
authorDima Ryazanov <dima@gmail.com>
Mon, 28 Jan 2013 09:11:06 +0000 (01:11 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 28 Jan 2013 17:26:54 +0000 (12:26 -0500)
commitd20fd4db60467f36fbe27448c85aa5c2d27f1fcd
tree5f7efc39e93b29bed58266331cbcb5eed533d125
parent23e72b867ae1d1b7e5023babd815fd91625c8309
terminal: Handle the window close event

There may be multiple windows open, so destroy the terminal instead of exiting.

Signed-off-by: Dima Ryazanov <dima@gmail.com>
clients/terminal.c