Debian Codegraph @

src/fenrirscreenreader/core/screenData.py

raw
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Fenrir TTY screen reader
5 # By Chrys, Storm Dragon, and contributors.
6
7 import time
8
9 from fenrirscreenreader.core import debug
10
11 screen_data = {
12 "columns": 0,
13 "lines": 0,
14 "oldDelta": "",
15 "oldAttribDelta": "",
16 "oldNegativeDelta": "",
17 "oldCursorReview": None,
18 "oldCursorAttrib": None,
19 "old_cursor": {"x": 0, "y": 0},
20 "oldContentBytes": b"",
21 "old_content_text": "",
22 "oldContentAttrib": None,
23 "oldApplication": "",
24 "oldTTY": None,
25 "new_delta": "",
26 "new_delta_is_typing": False,
27 "newNegativeDelta": "",
28 "newAttribDelta": "",
29 "newCursorReview": None,
30 "newCursorAttrib": None,
31 "new_cursor": {"x": 0, "y": 0},
32 "newContentBytes": b"",
33 "new_content_text": "",
34 "newContentAttrib": None,
35 "newTTY": "0",
36 "new_application": "",
37 "lastScreenUpdate": time.time(),
38 "autoIgnoreScreens": [],
39 }