From 91fe7203b6545073d57172f2571feeb9902589c1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 8 Nov 2019 16:19:34 +0100 Subject: [PATCH] Cleaned up definitions for `pause` and `sh` --- bb.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/bb.h b/bb.h index ff245a2..1b63741 100644 --- a/bb.h +++ b/bb.h @@ -300,11 +300,7 @@ CONFIRM ";\n" #endif "}\n" "pause() {\n" -#ifdef PAUSE -PAUSE ";\n" -#else -" ask1 REPLY \"\033[0;2mPress any key to continue...\033[0m\";" -#endif +" ask1 REPLY \"\033[0;2m Press any key to continue...\033[0m\";" "}\n" "pick() {\n" #ifdef PICK @@ -315,9 +311,7 @@ PICK ";\n" #endif "}\n" #ifdef SH -"alias sh=" SH";\n" -#else -#define SH "sh" +"alias sh="SH";\n" #endif ;