** Print a markdown or table-style row separator using ascii-art */
| 12116 | ** Print a markdown or table-style row separator using ascii-art |
| 12117 | */ |
| 12118 | static void print_row_separator( |
| 12119 | ShellState *p, |
| 12120 | int nArg, |
| 12121 | const char *zSep |
| 12122 | ){ |
| 12123 | int i; |
| 12124 | if( nArg>0 ){ |
| 12125 | fputs(zSep, p->out); |
| 12126 | print_dashes(p->out, p->actualWidth[0]+2); |
| 12127 | for(i=1; i<nArg; i++){ |
| 12128 | fputs(zSep, p->out); |
| 12129 | print_dashes(p->out, p->actualWidth[i]+2); |
| 12130 | } |
| 12131 | fputs(zSep, p->out); |
| 12132 | } |
| 12133 | fputs("\n", p->out); |
| 12134 | } |
| 12135 | |
| 12136 | /* |
| 12137 | ** This is the callback routine that the shell |
no test coverage detected