diff --git a/TODO b/TODO index d2c2ec12..8433f4a5 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/src/fenrir-package/screen/linux.py b/src/fenrir-package/screen/linux.py index 94c770fe..d5846644 100644 --- a/src/fenrir-package/screen/linux.py +++ b/src/fenrir-package/screen/linux.py @@ -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)