Tamir Duberstein
33aaf91366
Respect rendered width when adding TUI history ( #38075 )
...
## What changed
- Initialize new chat widgets with the current terminal width.
- Determine whether an added history cell is visible using the active history
render mode and the width available after ambient-pet reservations.
- Saturate diff-summary width calculations so extremely narrow terminals remain
renderable.
## Testing
- Cover width-sensitive history insertion with an ambient pet, raw-output mode,
and a diff summary narrower than its indentation.
GitOrigin-RevId: 82d20900e0637431be7646b4f4aba61810ff74c1
2026-08-11 21:12:23 +00:00
..
2026-08-11 21:12:23 +00:00
2026-08-04 19:18:03 +00:00
2026-08-09 15:49:17 +00:00
2026-08-11 21:12:23 +00:00
2026-07-20 14:44:25 +00:00
2026-08-01 14:33:12 +00:00
2026-08-11 17:52:09 +00:00
2026-07-11 01:15:48 +00:00
2026-08-07 00:37:50 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 14:01:31 +00:00
2026-08-05 18:09:26 +00:00
2026-07-29 18:40:38 +00:00
2026-07-29 13:53:15 +00:00
2026-08-07 03:54:23 +00:00
2026-08-07 03:54:23 +00:00
2026-07-30 21:49:53 +00:00
2026-08-07 00:37:50 +00:00
2026-08-04 03:49:53 +00:00
2026-07-21 19:17:18 +00:00
2026-08-04 19:12:46 +00:00
2026-07-21 14:25:18 +00:00
2026-07-15 01:07:29 +00:00
2026-08-07 02:45:35 +00:00
2026-07-22 23:45:45 +00:00
2026-08-07 23:43:14 +00:00
2026-08-11 21:12:23 +00:00
2026-07-23 23:13:59 +00:00
2026-08-04 16:53:33 +00:00
2026-08-11 21:12:23 +00:00
2026-08-11 19:16:15 +00:00
2026-08-07 00:05:41 +00:00
2026-08-01 14:33:12 +00:00
2026-08-10 11:22:55 +00:00
2026-08-11 21:12:23 +00:00
2026-08-04 16:53:33 +00:00
2026-07-29 03:50:00 +00:00
2026-08-07 00:37:50 +00:00
2026-08-07 00:37:50 +00:00
2026-07-29 13:53:15 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-08-11 19:16:15 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-06-24 03:10:20 +00:00
2026-08-11 19:16:15 +00:00
2026-06-26 19:27:31 +00:00
2026-06-26 19:27:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-19 16:50:54 +00:00
2026-07-18 18:00:51 +00:00
2026-07-12 19:18:37 +00:00
2026-08-01 14:33:12 +00:00
2026-07-17 23:07:40 +00:00
2026-08-05 20:44:03 +00:00
2026-08-05 20:44:03 +00:00
2026-07-29 13:53:15 +00:00
2026-08-04 19:12:46 +00:00
2026-07-21 19:17:18 +00:00
2026-08-07 03:54:23 +00:00
2026-07-29 13:53:15 +00:00
2026-08-03 23:05:35 +00:00
2026-08-11 19:16:15 +00:00
2026-07-21 20:13:08 +00:00
2026-07-23 19:19:35 +00:00
2026-07-20 15:44:37 +00:00
2026-08-07 02:45:35 +00:00
2026-08-08 04:57:06 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 13:53:15 +00:00
2026-07-29 14:01:31 +00:00
2026-07-27 17:59:06 +00:00
2026-07-29 13:53:15 +00:00
2026-07-29 14:01:31 +00:00
2026-08-04 19:05:45 +00:00
2026-07-28 20:12:13 +00:00
2026-08-04 19:05:45 +00:00
2026-08-07 00:05:41 +00:00
2026-07-06 16:33:13 -04:00
2026-07-08 12:17:58 -04:00
2026-08-01 14:33:12 +00:00
2026-07-28 19:58:25 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00