version 1.90, 2021/08/10 12:55:04 |
version 1.92, 2022/01/12 04:54:05 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2013-2015, 2017-2021 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2013-2015, 2017-2022 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 472 print_span(const struct tbl_span *sp, int indent) |
|
Line 472 print_span(const struct tbl_span *sp, int indent) |
|
printf("%d", cp->col); |
printf("%d", cp->col); |
print_cellt(dp->layout->pos); |
print_cellt(dp->layout->pos); |
switch (cp->font) { |
switch (cp->font) { |
|
case ESCAPE_FONTROMAN: |
|
break; |
case ESCAPE_FONTBOLD: |
case ESCAPE_FONTBOLD: |
putchar('b'); |
putchar('b'); |
break; |
break; |
Line 507 print_span(const struct tbl_span *sp, int indent) |
|
Line 509 print_span(const struct tbl_span *sp, int indent) |
|
putchar('x'); |
putchar('x'); |
} |
} |
switch (dp->pos) { |
switch (dp->pos) { |
case TBL_DATA_HORIZ: |
|
case TBL_DATA_NHORIZ: |
case TBL_DATA_NHORIZ: |
putchar('-'); |
putchar('\\'); |
|
/* FALLTHROUGH */ |
|
case TBL_DATA_HORIZ: |
|
putchar('_'); |
break; |
break; |
case TBL_DATA_DHORIZ: |
|
case TBL_DATA_NDHORIZ: |
case TBL_DATA_NDHORIZ: |
|
putchar('\\'); |
|
/* FALLTHROUGH */ |
|
case TBL_DATA_DHORIZ: |
putchar('='); |
putchar('='); |
break; |
break; |
default: |
default: |