From 145ff8bb5d9fb35464bc5ba1509710d113b95850 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 20 Jul 2018 02:09:53 +0200 Subject: [PATCH] fix docs --- setup.py | 4 ++-- src/fenrirscreenreader/core/screenManager.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index aec82bd0..731440f0 100755 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ destDir = '/usr/share/sounds/fenrirscreenreader/template' data_files.append((destDir, files)) files = glob.glob('tools/*') data_files.append(('/usr/share/fenrirscreenreader/tools', files)) -data_files.append(('/usr/share/man/man1', ['docu/fenrir.1'])) +data_files.append(('/usr/share/man/man1', ['docs/fenrir.1'])) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() @@ -55,7 +55,7 @@ setup( # Version number: version=fenrirVersion + '.' + packageVersion, # description - description="A TTY Screen Reader for Linux.", + description="A CLI Screen Reader", long_description=read('README.md'), keywords=['screenreader', 'a11y', 'accessibility', 'terminal', 'TTY', 'console'], license="License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", diff --git a/src/fenrirscreenreader/core/screenManager.py b/src/fenrirscreenreader/core/screenManager.py index 25c545d8..2c15dea4 100644 --- a/src/fenrirscreenreader/core/screenManager.py +++ b/src/fenrirscreenreader/core/screenManager.py @@ -162,8 +162,8 @@ class screenManager(): typing = True tempNewDelta = ''.join(x[2:] for x in diffList if x[0] == '+') if tempNewDelta.strip() != '': - if tempNewDelta != ''.join(newScreenText[self.env['screen']['oldCursor']['x']:self.env['screen']['newCursor']['x']].rstrip()): - if not '│' not in tempNewDelta: + if not '│' not in tempNewDelta: + if tempNewDelta != ''.join(newScreenText[self.env['screen']['oldCursor']['x']:self.env['screen']['newCursor']['x']].rstrip()): diffList = ['+ ' + self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']] +'\n'] typing = False else: