aboutsummaryrefslogtreecommitdiff
path: root/getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'getln.c')
-rw-r--r--getln.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/getln.c b/getln.c
index 1b994e9..74c981b 100644
--- a/getln.c
+++ b/getln.c
@@ -24,9 +24,6 @@ char *getln(FILE *stream)
}
memset(buf + size - 1024, 0, 1024);
getln_held = NULL;
- /* If input is a TTY, display a prompt. */
- if (isatty(fileno(stdin)))
- fputs("> ", stdout);
/* Read until either end of file or end of line. */
for (;;) {
if (fgets(buf + size - 1024, 1023, stream) == NULL)