add typings in/out

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mikhail Kilin
2026-01-27 03:59:49 +03:00
parent 46720b3584
commit 4d5625f950
6 changed files with 138 additions and 14 deletions

View File

@@ -119,6 +119,11 @@ async fn run_app<B: ratatui::backend::Backend>(
app.needs_redraw = true;
}
// Очищаем устаревший typing status
if app.td_client.clear_stale_typing_status() {
app.needs_redraw = true;
}
// Обрабатываем очередь сообщений для отметки как прочитанных
if !app.td_client.pending_view_messages.is_empty() {
app.td_client.process_pending_view_messages().await;