From 287cd4fcb50aef269c16195188fe5837cc450987 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 26 May 2018 23:47:59 +0200 Subject: [PATCH] sync --- src/fenrirscreenreader/screenDriver/vcsaDriver.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/fenrirscreenreader/screenDriver/vcsaDriver.py b/src/fenrirscreenreader/screenDriver/vcsaDriver.py index 158a9273..8154d6e1 100644 --- a/src/fenrirscreenreader/screenDriver/vcsaDriver.py +++ b/src/fenrirscreenreader/screenDriver/vcsaDriver.py @@ -229,11 +229,11 @@ class driver(screenDriver): ink = attr & 0x0F paper = (attr>>4) & 0x0F blink = 0 - #if attr & 1: - # blink = 1 + if attr & 1: + blink = 1 bold = 0 - #if attr & 16: - # bold = 1 + if attr & 16: + bold = 1 #if (ink != 7) or (paper != 0): # print(ink,paper) if sh & self.hichar: @@ -257,12 +257,7 @@ class driver(screenDriver): allText += lineText + '\n' allAttrib.append(lineAttrib) return str(allText), allAttrib - def getFenrirBGColor(self, attribute): - try: - return self.bgColorNames[attribute[2]] - except Exception as e: - print(e) - return '' + def getCurrApplication(self): apps = [] try: