feat: Print terminal dimensions after parsing header

This commit is contained in:
Paul Gauthier (aider) 2025-03-13 16:04:12 -07:00
parent 6d6db996fb
commit 169fa2e7b7

View file

@ -25,6 +25,8 @@ def main():
header_data = json.loads(header)
width = header_data.get("width", 80)
height = header_data.get("height", 24)
print(f"Terminal dimensions: {width}x{height}")
# Initialize pyte screen and stream with dimensions from header
screen = pyte.Screen(width, height)