mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
feat: Print terminal dimensions after parsing header
This commit is contained in:
parent
6d6db996fb
commit
169fa2e7b7
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue