mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
style: Remove trailing whitespace in redact-cast.py
This commit is contained in:
parent
91cef71048
commit
dfdd6bf533
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@ def main():
|
|||
with open(input_file, "r") as f:
|
||||
# First line is header
|
||||
header = f.readline().strip()
|
||||
|
||||
|
||||
# Parse header to extract terminal dimensions
|
||||
header_data = json.loads(header)
|
||||
width = header_data.get("width", 80)
|
||||
height = header_data.get("height", 24)
|
||||
|
||||
|
||||
# Initialize pyte screen and stream with dimensions from header
|
||||
screen = pyte.Screen(width, height)
|
||||
stream = pyte.Stream(screen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue