version 1.29, 2014/10/13 23:31:46 |
version 1.31, 2014/10/14 18:18:05 |
Line 91 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
Line 91 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
tp->tbl.slen = term_tbl_strlen; |
tp->tbl.slen = term_tbl_strlen; |
tp->tbl.arg = tp; |
tp->tbl.arg = tp; |
|
|
tblcalc(&tp->tbl, sp); |
tblcalc(&tp->tbl, sp, rmargin - tp->offset); |
} |
} |
|
|
/* Horizontal frame at the start of boxed tables. */ |
/* Horizontal frame at the start of boxed tables. */ |
Line 107 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
Line 107 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
/* Vertical frame at the start of each row. */ |
/* Vertical frame at the start of each row. */ |
|
|
if ((TBL_OPT_BOX | TBL_OPT_DBOX) & sp->opts->opts || |
if ((TBL_OPT_BOX | TBL_OPT_DBOX) & sp->opts->opts || |
sp->head->vert) |
(sp->head != NULL && sp->head->vert)) |
term_word(tp, TBL_SPAN_HORIZ == sp->pos || |
term_word(tp, TBL_SPAN_HORIZ == sp->pos || |
TBL_SPAN_DHORIZ == sp->pos ? "+" : "|"); |
TBL_SPAN_DHORIZ == sp->pos ? "+" : "|"); |
|
|