fix docs
This commit is contained in:
parent
5e044c7d61
commit
145ff8bb5d
4
setup.py
4
setup.py
@ -44,7 +44,7 @@ destDir = '/usr/share/sounds/fenrirscreenreader/template'
|
|||||||
data_files.append((destDir, files))
|
data_files.append((destDir, files))
|
||||||
files = glob.glob('tools/*')
|
files = glob.glob('tools/*')
|
||||||
data_files.append(('/usr/share/fenrirscreenreader/tools', files))
|
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):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
@ -55,7 +55,7 @@ setup(
|
|||||||
# Version number:
|
# Version number:
|
||||||
version=fenrirVersion + '.' + packageVersion,
|
version=fenrirVersion + '.' + packageVersion,
|
||||||
# description
|
# description
|
||||||
description="A TTY Screen Reader for Linux.",
|
description="A CLI Screen Reader",
|
||||||
long_description=read('README.md'),
|
long_description=read('README.md'),
|
||||||
keywords=['screenreader', 'a11y', 'accessibility', 'terminal', 'TTY', 'console'],
|
keywords=['screenreader', 'a11y', 'accessibility', 'terminal', 'TTY', 'console'],
|
||||||
license="License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
license="License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||||
|
@ -162,8 +162,8 @@ class screenManager():
|
|||||||
typing = True
|
typing = True
|
||||||
tempNewDelta = ''.join(x[2:] for x in diffList if x[0] == '+')
|
tempNewDelta = ''.join(x[2:] for x in diffList if x[0] == '+')
|
||||||
if tempNewDelta.strip() != '':
|
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']
|
diffList = ['+ ' + self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']] +'\n']
|
||||||
typing = False
|
typing = False
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user