sync
This commit is contained in:
parent
87fb1a79f5
commit
287cd4fcb5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user