aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot/libplot/ppause.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plot/libplot/ppause.c')
-rw-r--r--src/cmd/plot/libplot/ppause.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/plot/libplot/ppause.c b/src/cmd/plot/libplot/ppause.c
new file mode 100644
index 00000000..9fb8863d
--- /dev/null
+++ b/src/cmd/plot/libplot/ppause.c
@@ -0,0 +1,7 @@
+#include "mplot.h"
+void ppause(void){
+ char aa[4];
+ fflush(stdout);
+ read(0, aa, 4);
+ erase();
+}