This commit is contained in:
chrys 2018-05-26 23:47:59 +02:00
parent 87fb1a79f5
commit 287cd4fcb5

View File

@ -229,11 +229,11 @@ class driver(screenDriver):
ink = attr & 0x0F ink = attr & 0x0F
paper = (attr>>4) & 0x0F paper = (attr>>4) & 0x0F
blink = 0 blink = 0
#if attr & 1: if attr & 1:
# blink = 1 blink = 1
bold = 0 bold = 0
#if attr & 16: if attr & 16:
# bold = 1 bold = 1
#if (ink != 7) or (paper != 0): #if (ink != 7) or (paper != 0):
# print(ink,paper) # print(ink,paper)
if sh & self.hichar: if sh & self.hichar:
@ -257,12 +257,7 @@ class driver(screenDriver):
allText += lineText + '\n' allText += lineText + '\n'
allAttrib.append(lineAttrib) allAttrib.append(lineAttrib)
return str(allText), allAttrib return str(allText), allAttrib
def getFenrirBGColor(self, attribute):
try:
return self.bgColorNames[attribute[2]]
except Exception as e:
print(e)
return ''
def getCurrApplication(self): def getCurrApplication(self):
apps = [] apps = []
try: try: