diff --git a/src/fenrir-package/core/screenManager.py b/src/fenrir-package/core/screenManager.py index 19cc1404..f0c18832 100644 --- a/src/fenrir-package/core/screenManager.py +++ b/src/fenrir-package/core/screenManager.py @@ -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']