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

**Describe the solution you'd like**
Subset of what `reset` command does.
else if (!home_path.empty())
                    history_file = home_path + "/.clickhouse-client-history";
            }
            if (!history_file.empty() && !Poco::File(history_file).exists())
                Poco::File(history_file).createFile();
            LineReader::Patterns query_extenders = "\\"};
            LineReader::Patterns query_delimiters = ";", "\\G"};
#if USE_REPLXX
            replxx::Replxx::highlighter_callback_t highlight_callback};
            if (config().getBool("highlight"))
                highlight_callback = highlight;
            ReplxxLineReader lr(
                *suggest,
                history_file,
                config().has("multiline"),
                query_extenders,
                query_delimiters,
                highlight_callback);
#elif defined(USE_READLINE) && USE_READLINE
            ReadlineLineReader lr(*suggest, history_file, config().has("multiline"), query_extenders, query_delimiters);
#else
            LineReader lr(history_file, config().has("multiline"), query_extenders, query_delimiters);
#endif
            /// Enable bracketed-paste-mode only when multiquery is enabled and multiline is
            ///  disabled, so that we are able to paste and execute multiline queries in a whole
            ///  instead of erroring out, while be less intrusive.
            if (config().has("multiquery") && !config().has("multiline"))
                lr.enableBracketedPaste();
            do