- handle resizing 8-)

Mon, 15 Dec 2014 04:10:27 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 15 Dec 2014 04:10:27 +0200
changeset 33
bb209480d0ec
parent 32
ee770597a281
child 34
3caf69e7350b

- handle resizing 8-)

sources/interface.cpp file | annotate | diff | comparison | revisions
--- 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