tui-thinking-display修正

This commit is contained in:
2026-04-28 16:22:45 +09:00
parent cf4c454a03
commit f385f06abc
4 changed files with 97 additions and 3 deletions
+4 -3
View File
@@ -45,9 +45,10 @@ pub struct ThinkingBlock {
}
pub enum ThinkingState {
/// Live block: actively streaming. `started_at` is `None` only for
/// blocks materialised from `Event::History`, which never enter the
/// streaming state.
/// Live block: actively streaming. `started_at` powers the
/// `Thinking... (Xs)` live timer. History-restored blocks never
/// enter this state — they materialise as `Finished { elapsed_secs:
/// None }` since the original duration is not persisted.
Streaming { started_at: Instant },
/// Block ended cleanly with `ThinkingDone`.
Finished { elapsed_secs: Option<u64> },