tg_cli: minor improvements.

GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
This commit is contained in:
levlam 2019-07-23 18:18:57 +03:00
parent a4b67b9496
commit 763a88233e

View File

@ -3704,10 +3704,10 @@ class CliClient final : public Actor {
}
}
bool inited_ = false;
bool is_inited_ = false;
void loop() override {
if (!inited_) {
inited_ = true;
if (!is_inited_) {
is_inited_ = true;
init();
}
stdin_.flush_read().ensure();