Commit Graph

6 Commits

Author SHA1 Message Date
Michael Grant
82d8c67504 Recalculate window sizes when the terminal reports its pixel size.
The reply to CSI 14t updated the client's cell size but not the windows,
which kept the default 16x32 cell size until some other event (a resize, or
any client connecting or exiting) triggered recalculate_sizes(). Images
parsed in the meantime were sized for the wrong cell and drawn at the wrong
size. Recalculate when the reply arrives, and extend the reply test to check
that the window follows the client without any other event.
2026-10-14 14:11:55 +02:00
Nicholas Marriott
30791b7376 Tests for image bits. 2026-10-12 16:36:04 +01:00
Nicholas Marriott
3b20a0418a Fix tests. 2026-10-07 08:06:16 +01:00
Nicholas Marriott
20555f1508 Fix tests. 2026-10-07 07:29:44 +01:00
Nicholas Marriott
4775bc95e1 Fix tests on macOS. 2026-10-07 06:35:49 +01:00
Nicholas Marriott
059df9643c Tests for 5675. 2026-10-06 18:50:37 +01:00