MCPcopy Create free account
hub / github.com/duckdb/duckdb / PrintBoxRowSeparator

Method PrintBoxRowSeparator

tools/shell/shell_renderer.cpp:678–691  ·  view source on GitHub ↗

** Draw a horizontal separator for a RenderMode::Box table. */

Source from the content-addressed store, hash-verified

676 ** Draw a horizontal separator for a RenderMode::Box table.
677 */
678 void PrintBoxRowSeparator(PrintStream &out, idx_t nArg, const char *zSep1, const char *zSep2, const char *zSep3,
679 const vector<idx_t> &actualWidth) {
680 idx_t i;
681 if (nArg > 0) {
682 out.Print(zSep1);
683 PrintBoxLine(out, actualWidth[0] + 2);
684 for (i = 1; i < nArg; i++) {
685 out.Print(zSep2);
686 PrintBoxLine(out, actualWidth[i] + 2);
687 }
688 out.Print(zSep3);
689 }
690 out.Print("\n");
691 }
692};
693
694class ModeLatexRenderer : public ColumnRenderer {

Callers

nothing calls this directly

Calls 1

PrintMethod · 0.45

Tested by

no test coverage detected