Update screenManager.py

This commit is contained in:
chrys87 2016-09-23 09:51:47 +02:00 committed by GitHub
parent f02a55f680
commit c4f5ac6acf

View File

@ -31,3 +31,5 @@ class screenManager():
return ((currScreen in \
self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreen').split(',')) or
(currScreen in self.autoIgnoreScreens))
def isScreenChange(self):
return self.environment['screenData']['newTTY'] != self.environment['screenData']['oldTTY']