**Use case**
Some program left garbage in terminal.

**Describe the solution you'd like**
Subset of what `reset` command does.
}
        else if (config().has("query"))
        
            text = config().getRawString("query"); /// Poco configuration should not process substitutions in form of $...} inside query.
        }
        else
        
            /// If 'query' parameter is not set, read a query from stdin.
            /// The query is read entirely into memory (streaming is disabled).
            ReadBufferFromFileDescriptor in(STDIN_FILENO);
            readStringUntilEOF(text, in);
        }
        if (query_fuzzer_runs)
            processWithFuzzing(text);
        else
            processQueryText(text);
    }
    bool processQueryText(const String & text)
    
        if (exit_strings.end() != exit_strings.find(trim(text, [](char c) return isWhitespaceASCII(c) || c == ';'; })))
            return false;
        if (!config().has("multiquery"))
        
            assert(!query_fuzzer_runs);
            processTextAsSingleQuery(text);
            return true;
        }
        if (query_fuzzer_runs)
        
            processWithFuzzing(text);