diff gui-main.cpp @ 11:b652a5528fb1

handle EOF on input; more misc refactoring
author John W. Eaton <jwe@octave.org>
date Thu, 23 May 2019 13:42:57 -0400
parents 822a2fe5bb51
children 1e5a1e15fa56
line wrap: on
line diff
--- a/gui-main.cpp	Thu May 23 12:58:58 2019 -0400
+++ b/gui-main.cpp	Thu May 23 13:42:57 2019 -0400
@@ -20,12 +20,6 @@
 
     command_window.show ();
 
-    readline_init ();
-
-    int status = app.exec ();
-
-    readline_fini ();
-
-    return status;
+    return app.exec ();
   }
 }