smaller things

This commit is contained in:
chrys 2016-08-26 01:27:19 +02:00
parent 41c2341bf7
commit 5e08b9aff5
2 changed files with 3 additions and 2 deletions

1
TODO
View File

@ -13,6 +13,7 @@ ToDos in Priority order:
- Known Bugs
fix line wrapping bug (multible lines and make a linebreak in the middle of a line)
print(str(b'\x94'.decode('cp850')).encode('utf-8').decode('utf-8'))
handle ncurses "optimisations.."
sometimes the screen is spoken from the beginning without need to

View File

@ -79,8 +79,8 @@ class screen():
diff = difflib.ndiff(environment['screenData']['oldContentText'][diffStart:],\
environment['screenData']['newContentText'][diffStart:])
else:
diff = difflib.ndiff( environment['screenData']['oldContentText'][diffStart:].splitlines(),\
environment['screenData']['newContentText'][diffStart:].splitlines())
diff = difflib.ndiff( environment['screenData']['oldContentText'][diffStart:].split('\n'),\
environment['screenData']['newContentText'][diffStart:].split('\n'))
diffList = list(diff)