Unify "press a key" messages - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 91896059f8e2b6ee9a238ee06a77b6a776d0c399
parent 10f13847de4235109708b4d28e1cbf3a81e5800d
Author: Quentin Rameau 
Date:   Sun, 30 Jul 2017 19:32:20 +0200

Unify "press a key" messages

Diffstat:
  M sacc.c                              |       2 +-
  M ui_ti.c                             |       2 +-
  M ui_txt.c                            |       2 +-

3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sacc.c b/sacc.c
@@ -183,7 +183,7 @@ displaytextitem(Item *item)
                 pagerin = popen("$PAGER", "we");
                 fputs(item->raw, pagerin);
                 status = pclose(pagerin);
-                fputs("[ Press Enter to continue ]", stdout);
+                fputs("[Press Enter to continue]", stdout);
                 fflush(stdout);
                 getchar();
                 exit(status);
diff --git a/ui_ti.c b/ui_ti.c
@@ -132,7 +132,7 @@ uistatus(char *fmt, ...)
         vprintf(fmt, ap);
         va_end(ap);
 
-        printf(" ");
+        printf(" [Press a key to continue]");
         getchar();
 
         putp(tparm(exit_standout_mode));
diff --git a/ui_txt.c b/ui_txt.c
@@ -65,7 +65,7 @@ uistatus(char *fmt, ...)
         vprintf(fmt, arg);
         va_end(arg);
 
-        printf(" ");
+        printf(" [Press Enter to continue]");
         fflush(stdout);
 
         getchar();