about summary refs log tree commit diff stats
path: root/src/LYExtern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYExtern.c')
-rw-r--r--src/LYExtern.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/LYExtern.c b/src/LYExtern.c
index 78e7c235..8b6959e9 100644
--- a/src/LYExtern.c
+++ b/src/LYExtern.c
@@ -69,18 +69,7 @@ void run_external ARGS1(char *, c)
 		 HTUserMsg(command);
 
 		 stop_curses();
-		 fflush(stdout);
-#ifdef __DJGPP__
-		__djgpp_set_ctrl_c(0);
-		_go32_want_ctrl_break(1);
-#endif /* __DJGPP__ */
-		 system(command);
-#ifdef __DJGPP__
-		__djgpp_set_ctrl_c(1);
-		_go32_want_ctrl_break(0);
-#endif /* __DJGPP__ */
-
-		 fflush(stdout);
+		 LYSystem(command);
 		 start_curses();
 		}