Eric Traut
7a1325c191
Preserve the TUI logo's aspect ratio across terminal cell sizes ( #63445 )
...
## Why
Mapping the logo to a fixed character grid can stretch it when terminal
cells have different pixel proportions.
## What changed
Use the terminal's pixel and grid dimensions to scale the logo uniformly
and keep it centered in the space reserved for it. Use the original grid
mapping when usable pixel dimensions are unavailable.
Refresh the cached dimensions after resize or resume in onboarding,
startup draft input, and the main TUI, even if the grid size is unchanged.
## Testing
Update the settled onboarding logo snapshot to cover a HiDPI terminal
with 11 × 25.5 logical pixels per cell.
GitOrigin-RevId: 3a8a504e00ba80ba0acc421a8b48f64c73e465aa
2026-11-23 21:41:05 +00:00
..
2026-11-18 00:18:42 +00:00
2026-11-23 21:39:43 +00:00
2026-11-13 18:50:28 +00:00
2026-11-22 23:13:55 +00:00
2026-10-01 05:16:40 +00:00
2026-11-23 19:51:13 +00:00
2026-11-23 19:51:13 +00:00
2026-11-21 19:08:29 +00:00
2026-11-09 21:30:05 +00:00
2026-11-21 05:56:42 +00:00
2026-11-22 16:32:37 +00:00
2026-11-23 21:41:05 +00:00
2026-11-23 07:31:49 +00:00
2026-10-04 06:46:50 +00:00
2026-11-20 07:14:27 +00:00
2026-10-20 15:15:24 +00:00
2026-11-23 19:51:13 +00:00
2026-11-21 21:51:31 +00:00
2026-11-21 21:51:31 +00:00
2026-11-21 17:25:41 +00:00
2026-11-03 23:36:34 +00:00
2026-11-23 21:41:05 +00:00
2026-11-22 21:20:06 +00:00
2026-11-21 17:25:41 +00:00
2026-11-07 01:36:15 +00:00
2026-11-17 23:18:54 +00:00
2026-11-04 06:15:53 +00:00
2026-11-23 21:41:05 +00:00
2026-11-20 07:14:27 +00:00
2026-09-20 16:16:46 +00:00
2026-11-17 08:08:51 +00:00
2026-11-22 21:20:06 +00:00
2026-11-03 23:36:55 +00:00
2026-11-12 15:09:13 +00:00
2026-11-22 21:04:17 +00:00
2026-11-23 07:31:49 +00:00
2026-11-22 19:23:56 +00:00
2026-11-17 00:13:04 +00:00
2026-11-22 21:20:40 +00:00
2026-11-22 21:21:17 +00:00
2026-11-20 01:34:16 +00:00
2026-11-22 15:50:07 +00:00
2026-11-22 15:50:07 +00:00
2026-09-20 18:26:14 +00:00
2026-09-22 16:23:59 +00:00
2026-11-23 20:09:12 +00:00
2026-11-12 19:43:12 +00:00
2026-11-18 22:13:26 +00:00
2026-11-04 06:15:53 +00:00
2026-11-23 21:39:43 +00:00
2026-11-13 04:51:06 +00:00
2026-11-12 23:08:59 +00:00
2026-11-22 20:15:11 +00:00
2026-11-23 21:41:05 +00:00
2026-09-28 22:20:29 +00:00
2026-09-28 22:20:29 +00:00
2026-10-26 22:12:07 +00:00
2026-11-11 09:01:04 +00:00
2026-09-22 16:23:59 +00:00
2026-11-12 00:02:01 +00:00
2026-10-14 17:36:18 +00:00
2026-11-23 21:39:43 +00:00
2026-10-30 04:01:11 +00:00
2026-11-21 08:37:40 +00:00
2026-09-21 03:38:46 +00:00
2026-11-21 19:08:29 +00:00
2026-09-20 16:52:02 +00:00
2026-09-22 16:23:59 +00:00
2026-11-14 00:21:47 +00:00
2026-09-29 04:13:14 +00:00
2026-11-19 00:59:23 +00:00
2026-10-02 21:42:23 +00:00
2026-11-22 16:32:37 +00:00
2026-09-20 00:04:04 +00:00
2026-10-20 03:11:07 +00:00
2026-11-10 18:32:00 +00:00
2026-11-07 23:51:58 +00:00
2026-11-10 21:09:59 +00:00
2026-11-03 04:20:50 +00:00
2026-11-19 12:28:34 +00:00
2026-10-13 16:57:54 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 23:24:10 +00:00
2026-11-20 23:24:10 +00:00
2026-09-19 20:24:20 +00:00
2026-11-22 20:15:11 +00:00
2026-09-21 19:55:40 +00:00
2026-09-21 19:55:40 +00:00
2026-11-20 23:23:32 +00:00
2026-11-18 22:39:26 +00:00
2026-11-23 21:41:05 +00:00
2026-11-23 21:41:05 +00:00
2026-11-04 16:46:21 +00:00
2026-11-04 16:46:21 +00:00
2026-10-01 15:57:03 +00:00
2026-11-23 17:45:25 +00:00
2026-11-22 21:20:40 +00:00
2026-11-23 18:26:30 +00:00
2026-09-26 21:58:39 +00:00
2026-11-15 20:50:29 +00:00
2026-10-23 18:39:28 +00:00
2026-10-20 15:15:24 +00:00
2026-11-09 21:30:05 +00:00
2026-11-09 21:30:05 +00:00
2026-11-13 21:50:54 +00:00
2026-09-24 17:55:29 +00:00
2026-11-22 16:22:42 +00:00
2026-10-28 01:04:30 +00:00
2026-10-13 19:55:22 +00:00
2026-11-07 23:18:39 +00:00
2026-11-10 18:32:00 +00:00
2026-11-21 21:51:31 +00:00
2026-11-18 22:13:26 +00:00
2026-11-23 04:58:33 +00:00
2026-11-16 21:49:32 +00:00
2026-10-19 22:21:13 +00:00
2026-11-16 23:57:23 +00:00
2026-11-21 17:25:41 +00:00
2026-10-30 04:01:11 +00:00
2026-09-24 17:43:15 +00:00
2026-10-30 04:01:34 +00:00
2026-10-02 02:27:25 +00:00
2026-11-22 20:15:11 +00:00
2026-11-07 17:31:27 +00:00
2026-09-24 17:55:29 +00:00
2026-11-22 06:47:14 +00:00
2026-11-18 18:28:58 +00:00
2026-11-22 06:47:14 +00:00
2026-10-15 15:08:28 +00:00
2026-11-16 21:50:03 +00:00
2026-11-05 19:11:18 +00:00
2026-10-04 06:46:50 +00:00
2026-11-22 15:50:07 +00:00
2026-11-23 21:39:43 +00:00
2026-11-23 21:39:43 +00:00
2026-11-10 04:56:49 +00:00
2026-11-14 02:23:37 +00:00
2026-11-22 20:15:11 +00:00
2026-11-20 17:45:15 +00:00
2026-10-26 21:28:54 +00:00
2026-10-26 21:28:54 +00:00
2026-10-23 16:18:43 +00:00
2026-11-21 00:20:14 +00:00
2026-11-21 00:20:14 +00:00
2026-11-22 21:20:40 +00:00
2026-11-21 17:25:41 +00:00
2026-09-29 04:13:14 +00:00
2026-09-29 04:13:14 +00:00
2026-10-30 06:45:04 +00:00
2026-10-30 06:45:04 +00:00
2026-11-06 07:43:44 +00:00
2026-10-26 18:13:00 +00:00
2026-11-22 08:27:26 +00:00
2026-09-20 16:16:46 +00:00
2026-10-01 18:05:05 +00:00
2026-09-30 19:22:34 +00:00
2026-11-07 08:11:37 +00:00
2026-10-06 03:35:55 +00:00
2026-11-10 04:56:49 +00:00
2026-10-30 00:45:30 +00:00
2026-11-04 06:15:53 +00:00
2026-11-02 23:19:03 +00:00
2026-11-06 05:10:44 +00:00
2026-10-14 01:07:57 +00:00
2026-10-30 04:01:11 +00:00
2026-11-18 18:28:58 +00:00
2026-11-23 18:26:30 +00:00
2026-11-22 21:04:17 +00:00
2026-09-20 20:20:00 +00:00
2026-11-23 17:45:25 +00:00
2026-11-23 17:45:25 +00:00
2026-11-22 20:52:41 +00:00
2026-11-21 20:41:19 +00:00
2026-11-23 04:34:46 +00:00
2026-11-23 21:41:05 +00:00
2026-11-13 21:52:22 +00:00
2026-11-13 21:52:22 +00:00
2026-11-13 21:52:22 +00:00
2026-11-13 21:52:22 +00:00
2026-11-17 00:13:04 +00:00
2026-09-30 19:00:00 +00:00
2026-11-10 18:32:00 +00:00
2026-11-21 17:25:41 +00:00
2026-09-29 20:46:44 +00:00
2026-10-01 05:18:04 +00:00
2026-10-01 05:18:04 +00:00
2026-11-23 01:51:00 +00:00
2026-09-20 03:02:02 +00:00
2026-11-16 03:24:23 +00:00
2026-11-17 13:10:04 +00:00
2026-11-19 00:59:23 +00:00
2026-11-17 08:08:51 +00:00
2026-11-17 08:08:51 +00:00
2026-11-19 01:16:44 +00:00
2026-10-19 21:43:19 +00:00
2026-11-16 03:24:23 +00:00
2026-11-16 03:24:23 +00:00
2026-10-01 18:05:05 +00:00
2026-11-20 07:15:35 +00:00
2026-11-20 07:15:35 +00:00
2026-11-11 18:59:32 +00:00
2026-11-18 22:39:26 +00:00
2026-11-21 08:37:40 +00:00
2026-10-09 00:04:15 +00:00
2026-11-18 18:28:58 +00:00
2026-11-22 21:04:17 +00:00
2026-11-22 21:04:17 +00:00
2026-10-28 01:04:30 +00:00
2026-10-14 03:52:30 +00:00
2026-11-19 19:04:56 +00:00
2026-10-30 04:00:47 +00:00
2026-11-16 03:24:23 +00:00
2026-10-02 07:21:07 +00:00
2026-10-10 22:28:01 +00:00
2026-11-19 19:04:56 +00:00
2026-11-18 18:28:58 +00:00
2026-11-18 18:28:58 +00:00
2026-11-18 22:13:26 +00:00
2026-11-14 00:05:32 +00:00
2026-11-23 07:31:49 +00:00
2026-10-01 01:35:40 +00:00
2026-11-22 19:23:56 +00:00
2026-11-17 00:13:04 +00:00
2026-09-20 00:04:04 +00:00
2026-11-18 00:58:27 +00:00
2026-11-21 23:25:56 +00:00
2026-10-27 08:04:25 +00:00
2026-11-22 21:18:40 +00:00
2026-11-22 21:21:17 +00:00
2026-10-11 15:50:16 +00:00
2026-10-01 01:35:40 +00:00
2026-11-20 01:34:16 +00:00
2026-11-20 01:34:16 +00:00
2026-09-29 04:13:14 +00:00
2026-09-20 00:04:04 +00:00
2026-10-26 19:29:16 +00:00
2026-09-20 00:04:04 +00:00
2026-10-20 15:15:24 +00:00
2026-10-20 15:15:24 +00:00
2026-11-22 16:22:42 +00:00
2026-11-23 18:26:30 +00:00
2026-11-14 00:08:20 +00:00
2026-11-14 00:08:20 +00:00
2026-11-18 22:13:26 +00:00
2026-09-19 20:24:20 +00:00