update ToDo
This commit is contained in:
parent
ecc5dcfe69
commit
50ef8d4e4b
14
TODO v2.0
14
TODO v2.0
@ -77,10 +77,24 @@ Braille Support:
|
|||||||
|
|
||||||
Driver (screen, input):
|
Driver (screen, input):
|
||||||
[W] PTY Screen driver (to use gnome-terminal and other terminal emulators)
|
[W] PTY Screen driver (to use gnome-terminal and other terminal emulators)
|
||||||
|
[X] emulation
|
||||||
|
[X] basic reading
|
||||||
|
[W] attributes
|
||||||
|
[] detect colum/ lines
|
||||||
|
[] resize on colum / line change
|
||||||
|
[] make shell command configurable (or detect it)
|
||||||
|
[] stop emulation properly
|
||||||
|
[] make pasteing text work again
|
||||||
https://docs.python.org/3.2/library/pty.html
|
https://docs.python.org/3.2/library/pty.html
|
||||||
http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
|
http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
|
||||||
https://blog.konpat.me/pythons-pseudo-terminal-pty-examples/
|
https://blog.konpat.me/pythons-pseudo-terminal-pty-examples/
|
||||||
[W] PTY Input driver
|
[W] PTY Input driver
|
||||||
|
[W] new event for byte shortcuts (escape sequences)
|
||||||
|
[] create driver, set flag that it is used in emulation
|
||||||
|
[] handle byte shortcuts
|
||||||
|
[] detect shortcuts
|
||||||
|
[] write/ consume them (controll it at all)
|
||||||
|
[] create keyboard layout
|
||||||
[] ATK input driver (don't grab on graphical interface)
|
[] ATK input driver (don't grab on graphical interface)
|
||||||
https://git.linux-a11y.org/AIT/pyatspi2/src/master/examples/keypress.py
|
https://git.linux-a11y.org/AIT/pyatspi2/src/master/examples/keypress.py
|
||||||
|
|
||||||
|
@ -104,7 +104,6 @@ class driver(screenDriver):
|
|||||||
eventQueue.put({"Type":fenrirEventType.ScreenUpdate,
|
eventQueue.put({"Type":fenrirEventType.ScreenUpdate,
|
||||||
"Data":self.createScreenEventData(terminal.dump())
|
"Data":self.createScreenEventData(terminal.dump())
|
||||||
})
|
})
|
||||||
#_ = self.createScreenEventData(terminal.dump())
|
|
||||||
if debug:
|
if debug:
|
||||||
print('after p_out')
|
print('after p_out')
|
||||||
# input
|
# input
|
||||||
@ -145,16 +144,6 @@ class driver(screenDriver):
|
|||||||
'attributes': content['attributes'],
|
'attributes': content['attributes'],
|
||||||
'screenUpdateTime': time.time(),
|
'screenUpdateTime': time.time(),
|
||||||
}
|
}
|
||||||
#print(content['lines'][0])
|
|
||||||
#print('pre',eventData['text'])
|
|
||||||
#for line in content['lines']:
|
|
||||||
# #print('line',line)
|
|
||||||
# for e in line:
|
|
||||||
# #print('loop|',e,'|')
|
|
||||||
# eventData['text'] += e[0]
|
|
||||||
#print(len(eventData['text']), type(eventData['text']))
|
|
||||||
#print(eventData['text'])
|
|
||||||
#eventData['text'] = ''
|
|
||||||
return eventData.copy()
|
return eventData.copy()
|
||||||
|
|
||||||
def getFenrirBGColor(self, attribute):
|
def getFenrirBGColor(self, attribute):
|
||||||
|
Loading…
Reference in New Issue
Block a user