Eric Traut
f62d4836b8
Avoid unnecessary TUI redraws on terminal focus changes ( #64752 )
...
## Why
Switching away from an idle composer can write to the terminal even when
there are no animations to clear. Regaining focus already triggers a draw.
## What changed
On focus loss, request a redraw when composer sparkles are visible or
when an active empty-state replay is canceled.
## Testing
Add a PTY regression test that checks for zero terminal output after idle
focus loss and verifies that input is accepted immediately after focus
returns, in both inline and fullscreen modes.
GitOrigin-RevId: c961a4274049b98fff7307092f6ac89d51cf8e95
2026-11-30 16:25:43 +00:00
..
2026-11-28 02:07:41 +00:00
2026-11-19 00:06:45 +00:00
2026-11-14 01:34:43 +00:00
2026-11-27 04:54:59 +00:00
2026-11-28 02:07:41 +00:00
2026-11-30 00:39:15 +00:00
2026-11-17 06:32:38 +00:00
2026-11-06 07:43:44 +00:00
2026-11-25 22:54:56 +00:00
2026-11-28 02:07:41 +00:00
2026-11-22 21:20:06 +00:00
2026-11-18 02:04:55 +00:00
2026-11-26 19:54:18 +00:00
2026-11-06 07:43:44 +00:00
2026-11-18 22:13:26 +00:00
2026-11-21 15:14:53 +00:00
2026-11-26 19:54:18 +00:00
2026-11-18 22:13:26 +00:00
2026-11-26 00:33:01 +00:00
2026-11-22 23:02:09 +00:00
2026-11-21 15:14:53 +00:00
2026-11-27 05:03:45 +00:00
2026-11-22 15:50:07 +00:00
2026-11-29 23:28:54 +00:00
2026-11-21 15:14:53 +00:00
2026-11-30 00:39:15 +00:00
2026-11-22 15:50:07 +00:00
2026-11-18 00:46:17 +00:00
2026-11-21 15:14:53 +00:00
2026-11-27 05:03:45 +00:00
2026-11-29 23:28:54 +00:00
2026-11-24 11:05:19 +00:00
2026-11-26 19:54:18 +00:00
2026-11-13 21:51:53 +00:00
2026-11-18 18:28:58 +00:00
2026-11-26 19:54:18 +00:00
2026-11-18 22:13:26 +00:00
2026-11-27 20:36:59 +00:00
2026-11-12 01:57:33 +00:00
2026-11-29 01:29:23 +00:00
2026-11-25 22:43:24 +00:00
2026-11-17 05:52:43 +00:00
2026-11-17 05:52:43 +00:00
2026-11-18 03:36:14 +00:00
2026-11-30 00:39:15 +00:00
2026-11-25 02:00:08 +00:00
2026-11-29 23:28:54 +00:00
2026-11-26 00:33:01 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-11-24 06:15:04 +00:00
2026-11-27 23:37:54 +00:00
2026-11-15 07:28:15 +00:00
2026-11-19 00:59:23 +00:00
2026-11-10 07:06:53 +00:00
2026-11-26 17:55:06 +00:00
2026-11-15 01:46:01 +00:00
2026-11-15 01:46:01 +00:00
2026-11-17 00:13:04 +00:00
2026-11-25 22:48:50 +00:00
2026-11-25 01:42:33 +00:00
2026-11-25 22:54:56 +00:00
2026-11-26 19:54:18 +00:00
2026-11-25 22:43:58 +00:00
2026-11-21 01:14:17 +00:00
2026-11-20 07:14:27 +00:00
2026-11-24 06:15:04 +00:00
2026-11-24 06:15:04 +00:00
2026-11-25 22:54:56 +00:00
2026-11-25 22:54:56 +00:00
2026-11-29 23:28:54 +00:00
2026-11-10 18:32:00 +00:00
2026-11-25 01:13:00 +00:00
2026-11-23 01:51:00 +00:00
2026-11-27 22:52:25 +00:00
2026-11-30 16:25:43 +00:00
2026-11-13 04:51:06 +00:00
2026-11-24 19:55:43 +00:00
2026-11-24 06:15:04 +00:00
2026-11-14 01:34:43 +00:00
2026-11-25 02:31:54 +00:00
2026-11-11 18:59:32 +00:00
2026-11-27 20:36:59 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-11-25 22:54:56 +00:00
2026-11-29 23:28:54 +00:00
2026-11-25 06:20:31 +00:00
2026-11-26 17:55:06 +00:00
2026-11-26 17:55:06 +00:00
2026-11-24 06:15:04 +00:00
2026-11-18 22:40:03 +00:00
2026-11-20 07:14:27 +00:00
2026-11-27 22:52:25 +00:00
2026-11-21 15:14:53 +00:00
2026-11-18 22:13:26 +00:00
2026-11-27 04:03:51 +00:00
2026-11-27 04:54:59 +00:00
2026-11-25 22:43:58 +00:00
2026-11-26 19:54:18 +00:00
2026-11-26 00:30:45 +00:00
2026-11-25 11:49:41 +00:00
2026-11-26 19:54:18 +00:00
2026-11-27 04:02:55 +00:00
2026-11-27 04:54:59 +00:00
2026-11-26 20:24:42 +00:00
2026-11-18 22:13:26 +00:00
2026-11-26 19:54:18 +00:00
2026-11-26 21:08:29 +00:00
2026-11-26 19:54:18 +00:00
2026-11-22 20:15:11 +00:00
2026-11-26 20:24:42 +00:00
2026-11-25 11:49:41 +00:00
2026-11-27 04:02:55 +00:00
2026-11-27 04:54:59 +00:00
2026-11-26 22:54:05 +00:00
2026-11-29 23:14:56 +00:00
2026-11-19 00:59:23 +00:00
2026-11-17 13:10:04 +00:00
2026-11-19 00:59:23 +00:00
2026-11-19 00:59:23 +00:00
2026-11-30 00:39:15 +00:00
2026-11-30 00:39:15 +00:00
2026-11-26 19:54:18 +00:00
2026-11-10 14:28:13 +00:00
2026-11-27 01:14:33 +00:00
2026-11-27 22:52:25 +00:00
2026-11-18 18:28:58 +00:00
2026-11-27 22:52:25 +00:00
2026-11-27 22:52:25 +00:00
2026-11-27 22:52:25 +00:00
2026-11-15 03:17:50 +00:00
2026-11-15 03:17:50 +00:00
2026-11-24 20:50:04 +00:00
2026-11-24 20:50:04 +00:00
2026-11-10 23:35:28 +00:00
2026-11-13 18:50:28 +00:00
2026-11-27 20:36:59 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-25 02:31:54 +00:00
2026-11-18 03:08:53 +00:00
2026-11-29 23:28:54 +00:00
2026-11-27 04:02:55 +00:00