summaryrefslogtreecommitdiffstats
path: root/term_ascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'term_ascii.c')
-rw-r--r--term_ascii.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/term_ascii.c b/term_ascii.c
index 2f67eb88..1ba4c6c9 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -163,18 +163,17 @@ ascii_setwidth(struct termp *p, int iop, int width)
}
void
-ascii_sepline(void *arg)
+terminal_sepline(void *arg)
{
struct termp *p;
size_t i;
p = (struct termp *)arg;
- p->line += 3;
- putchar('\n');
+ (*p->endline)(p);
for (i = 0; i < p->defrmargin; i++)
- putchar('-');
- putchar('\n');
- putchar('\n');
+ (*p->letter)(p, '-');
+ (*p->endline)(p);
+ (*p->endline)(p);
}
static size_t