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

**Describe the solution you'd like**
Subset of what `reset` command does.
std::cout << st << st;
        }
        else if (print_time_to_stderr)
        
            std::cerr << watch.elapsedSeconds() << "\n";
        }
    }
    /// Convert external tables to ExternalTableData and send them using the n.
    void sendExternalTables()
    
        const auto * select = parsed_query->as<ASTSelectWithUnionQuery>();
        if (!select && !external_tables.empty())
            throw Exception("External tables could be sent only with select query", ErrorCodes::BAD_ARGUMENTS);
        std::vector<ExternalTableDataPtr> data;
        for (auto & table : external_tables)
            data.emplace_back(table.getData(context));
        n->sendExternalTablesData(data);
    }
    /// Process the query that doesn't require transferring data blocks to the server.
    void processOrdinaryQuery()
    
        /// Rewrite query only when we have query parameters.
        /// Note that if query is rewritten, comments in query are lost.
        /// But the user often wants to see comments in server logs, query log, processlist, etc.
        if (!query_parameters.empty())
        
            /// Replace ASTQueryParameter with ASTLiteral for prepared statements.
            ReplaceQueryParameterVisitor visitor(query_parameters);
            visitor.visit(parsed_query);
            /// Get new query after substitutions. Note that it cannot be done for INSERT query with embedded data.