make pty intial working with attributes

This commit is contained in:
chrys
2018-05-24 01:01:17 +02:00
parent 12e10719c0
commit 4f05d0aefd
5 changed files with 23 additions and 18 deletions

View File

@ -185,6 +185,7 @@ class screenManager():
# "fontfamily"
if not attributeFormatString:
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
print('call')
if not attributeFormatString:
return ''
if attributeFormatString == '':
@ -192,6 +193,7 @@ class screenManager():
if not attribute:
return ''
if len(attribute) != 10:
print('out',len(attribute),attribute)
return ''
# 0 FG color (name)
try:
@ -264,7 +266,7 @@ class screenManager():
except Exception as e:
pass
attributeFormatString = attributeFormatString.replace('fenrirFont', _('default'))
print(attributeFormatString)
return attributeFormatString
def isSuspendingScreen(self, screen = None):