sources/interface.cpp

changeset 33
bb209480d0ec
parent 32
ee770597a281
child 34
3caf69e7350b
--- a/sources/interface.cpp	Mon Dec 15 04:01:58 2014 +0200
+++ b/sources/interface.cpp	Mon Dec 15 04:10:27 2014 +0200
@@ -489,6 +489,13 @@
 {
 	int ch = ::getch();
 
+	if (ch == KEY_RESIZE)
+	{
+		::clear();
+		render_full();
+		return;
+	}
+
 	if (g_inputState == INPUTSTATE_CONFIRM_DISCONNECTION)
 	{
 		if (ch == 'y' or ch == 'Y')

mercurial