summaryrefslogtreecommitdiff
path: root/heredoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'heredoc.c')
-rw-r--r--heredoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heredoc.c b/heredoc.c
index a902a9c..348dc84 100644
--- a/heredoc.c
+++ b/heredoc.c
@@ -42,7 +42,7 @@ static char *readheredoc(char *eof) {
bufend = &buf[bufsize]; \
}
for (;;) {
- print_prompt2();
+ nextline();
for (s = (unsigned char *) eof; (c = gchar()) == *s; s++)
;
if (*s == '\0' && (c == '\n' || c == EOF)) {