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

Function ToggleHighlighting

tools/shell/shell_metadata_command.cpp:527–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527MetadataResult ToggleHighlighting(ShellState &state, const vector<string> &args) {
528 ShellHighlight::SetHighlighting(state.StringToBool(args[1]));
529 return MetadataResult::SUCCESS;
530}
531
532#ifdef HAVE_LINENOISE
533MetadataResult ToggleErrorRendering(ShellState &state, const vector<string> &args) {

Callers

nothing calls this directly

Calls 1

StringToBoolMethod · 0.80

Tested by

no test coverage detected