More pep8 fixes. A tiny bit of refactoring.

This commit is contained in:
Storm Dragon
2025-07-07 00:42:23 -04:00
parent d28c18faed
commit 3390c25dfe
343 changed files with 11092 additions and 7582 deletions

View File

@ -2,36 +2,37 @@
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
# By Chrys, Storm Dragon, and contributors.
from fenrirscreenreader.core import debug
import time
from fenrirscreenreader.core import debug
screen_data = {
'columns': 0,
'lines': 0,
'oldDelta': '',
'oldAttribDelta': '',
'oldNegativeDelta': '',
'oldCursorReview': None,
'oldCursorAttrib': None,
'old_cursor': {'x': 0, 'y': 0},
'oldContentBytes': b'',
'old_content_text': '',
'oldContentAttrib': None,
'oldApplication': '',
'oldTTY': None,
'new_delta': '',
'newNegativeDelta': '',
'newAttribDelta': '',
'newCursorReview': None,
'newCursorAttrib': None,
'new_cursor': {'x': 0, 'y': 0},
'newContentBytes': b'',
'new_content_text': '',
'newContentAttrib': None,
'newTTY': '0',
'new_application': '',
'lastScreenUpdate': time.time(),
'autoIgnoreScreens': [],
"columns": 0,
"lines": 0,
"oldDelta": "",
"oldAttribDelta": "",
"oldNegativeDelta": "",
"oldCursorReview": None,
"oldCursorAttrib": None,
"old_cursor": {"x": 0, "y": 0},
"oldContentBytes": b"",
"old_content_text": "",
"oldContentAttrib": None,
"oldApplication": "",
"oldTTY": None,
"new_delta": "",
"newNegativeDelta": "",
"newAttribDelta": "",
"newCursorReview": None,
"newCursorAttrib": None,
"new_cursor": {"x": 0, "y": 0},
"newContentBytes": b"",
"new_content_text": "",
"newContentAttrib": None,
"newTTY": "0",
"new_application": "",
"lastScreenUpdate": time.time(),
"autoIgnoreScreens": [],
}