update ToDo

This commit is contained in:
chrys 2018-03-24 17:49:15 +01:00
parent ecc5dcfe69
commit 50ef8d4e4b
2 changed files with 15 additions and 12 deletions

View File

@ -77,10 +77,24 @@ Braille Support:
Driver (screen, input):
[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
http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
https://blog.konpat.me/pythons-pseudo-terminal-pty-examples/
[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)
https://git.linux-a11y.org/AIT/pyatspi2/src/master/examples/keypress.py

View File

@ -104,7 +104,6 @@ class driver(screenDriver):
eventQueue.put({"Type":fenrirEventType.ScreenUpdate,
"Data":self.createScreenEventData(terminal.dump())
})
#_ = self.createScreenEventData(terminal.dump())
if debug:
print('after p_out')
# input
@ -145,16 +144,6 @@ class driver(screenDriver):
'attributes': content['attributes'],
'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()
def getFenrirBGColor(self, attribute):