make puse for ibmtts disable

This commit is contained in:
chrys 2018-05-17 23:49:32 +02:00
parent ce4cec27e2
commit 9dfd45eb07
2 changed files with 6 additions and 2 deletions

View File

@ -96,7 +96,11 @@ class outputManager():
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
try:
cleanText = text.replace('\n',' , ')
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'newLinePause'):
cleanText = text.replace('\n',' , ')
else:
cleanText = text.replace('\n',' ')
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
cleanText = re.sub(' +$',' ', cleanText)

View File

@ -136,7 +136,7 @@ class screenManager():
newScreenText.split('\n'))
diffList = list(diff)
if self.env['runtime']['settingsManager'].getSetting('general', 'newLinePause') and not typing:
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'newLinePause') and not typing:
self.env['screen']['newDelta'] = '\n'.join(x[2:] for x in diffList if x[0] == '+')
else:
self.env['screen']['newDelta'] = ''.join(x[2:] for x in diffList if x[0] == '+')