tg_cli: minor improvements.
GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
This commit is contained in:
parent
a4b67b9496
commit
763a88233e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user