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

**Describe the solution you'd like**
Subset of what `reset` command does.
}
};
}
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wmissing-declarations"
int mainEntryClickHouseClient(int argc, char ** argv)
    try
    
        DB::Client client;
        client.init(argc, argv);
        return client.run();
    }
    catch (const boost::program_options::error & e)
    
        std::cerr << "Bad arguments: " << e.what() << st;
        return 1;
    }
    catch (const DB::Exception & e)
    
        std::string text = e.displayText();
        std::cerr << "Code: " << e.code() << ". " << text << st;
        return 1;
    }
    catch (...)
    
        std::cerr << DB::getCurrentExceptionMessage(true) << st;
        return 1;
    }
}