commit | 8ab677b900d34ea5c2234767551437e88b3cb9a3 | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Thu Apr 17 12:06:11 2025 +0100 |
committer | Chris Kay <chris.kay@arm.com> | Wed May 28 13:13:09 2025 +0100 |
tree | ddc68b7ba7e1dc8613c38147abf243e259a37e31 | |
parent | 1bed7707447e004b00a8a2f372dc0120dea44257 [diff] |
fix(memmap): ensure terminal width is respected Python, for one reason or another, doesn't always get access to the terminal columns environment variable (`COLUMNS`). Instead, switch out this logic with the Python-recommended way to get the terminal width, via the `shutil` import. Change-Id: I3956f10e91b286404c4d9e802d94592a00c746fb Signed-off-by: Chris Kay <chris.kay@arm.com>