summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/term.c b/term.c
index 1d51ed4b..6d823050 100644
--- a/term.c
+++ b/term.c
@@ -133,9 +133,10 @@ term_flushln(struct termp *p)
size_t vbl; /* number of blanks to prepend to output */
size_t vend; /* end of word visual position on output */
size_t bp; /* visual right border position */
- int j; /* temporary loop index */
- int jhy; /* last hyphen before line overflow */
- size_t maxvis, mmax;
+ int j; /* temporary loop index for p->buf */
+ int jhy; /* last hyph before overflow w/r/t j */
+ size_t maxvis; /* output position of visible boundary */
+ size_t mmax; /* used in calculating bp */
/*
* First, establish the maximum columns of "visible" content.