shutdown order changed, restore orig termios struct.
[physik/nlsop.git] / nlsop_gui.c
index 78cc86b..8464faf 100644 (file)
@@ -276,8 +276,8 @@ int get_command(t_event *event,void *allineed) {
         /* stop everything */
         event_math(0,event,READ,REMOVE);
         network_shutdown(net);
-        display_shutdown(display);
         input_shutdown(input);
+        display_shutdown(display);
         event_stop(event);
         return 2;
       default: