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

**Describe the solution you'd like**
Subset of what `reset` command does.
}
                }
            }
            // The server is still alive so we're going to continue fuzzing.
            // Determine what we're going to use as the starting AST.
            if (have_error)
            
                // Query completed with error, keep the previous starting AST.
                // Also discard the exception that we now know to be non-fatal,
                // so that it doesn't influence the exit code.
                server_exception.reset();
                client_exception.reset();
                have_error = false;
            }
            else if (ast_to_process->formatForErrorMessage().size() > 500)
            
                // ast too long, start from original ast
                 AST is too long, discarding it and using the original AST as a start\n");
                fuzz_base = orig_ast;
            }
            else
            
                // fuzz starting from this successful query
                ucceeded, using this AST as a start\n");
                fuzz_base = ast_to_process;
            }
        }
        return true;
    }
    void processTextAsSingleQuery(const String & text_)