MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / setLinenoiseMode

Method setLinenoiseMode

tools/shell/embedded_shell.cpp:722–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722void EmbeddedShell::setLinenoiseMode(int mode) {
723 linenoiseSetMultiLine(mode, path_to_history);
724 if (mode == 0) {
725 printf("Single line mode enabled\n");
726 } else {
727 printf("Multi line mode enabled\n");
728 }
729}
730
731void EmbeddedShell::setMaxRows(const std::string& maxRowsString) {
732 uint64_t parsedMaxRows = 0;

Callers

nothing calls this directly

Calls 1

linenoiseSetMultiLineFunction · 0.85

Tested by

no test coverage detected