More pep8 fixes. A tiny bit of refactoring.
This commit is contained in:
@ -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": [],
|
||||
}
|
||||
|
Reference in New Issue
Block a user