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

**Describe the solution you'd like**
Subset of what `reset` command does.
void processParsedSingleQuery()
    
        resetOutput();
        client_exception.reset();
        server_exception.reset();
        have_error = false;
        if (echo_queries)
        
            writeString(full_query, std_out);
            writeChar('\n', std_out);
            std_out.next();
        }
        if (is_interactive)
        
            // Generate a new query_id
            conte
            for (const auto & query_id_format : query_id_formats)
            
                writeString(query_id_format.first, std_out);
                writeString(fmt::format(query_id_format.second, fmt::arg("query_id", context.getCurrentQueryId())), std_out);
                writeChar('\n', std_out);
                std_out.next();
            }
        }
        watch.restart();
        processed_rows = 0;
        progress.reset();
        show_progress_bar = false;
        written_progress_chars = 0;
        written_first_block = false;