From 2c7d3426e5e568fcf72554e9d98d9cec1b3d4dcc Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 2 Jul 2017 00:41:26 +0200 Subject: [PATCH] add debug --- src/fenrir/screenDriver/vcsaDriver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrir/screenDriver/vcsaDriver.py b/src/fenrir/screenDriver/vcsaDriver.py index 42d76d11..dfdaf628 100644 --- a/src/fenrir/screenDriver/vcsaDriver.py +++ b/src/fenrir/screenDriver/vcsaDriver.py @@ -116,6 +116,7 @@ class driver(): fileno = change[0] event = change[1] if fileno == tty.fileno(): + self.env['runtime']['debug'].writeDebugOut('ScreenChange' + str(e),debug.debugLevel.INFO) tty.seek(0) currScreen = str(tty.read()[3:-1]) if currScreen != oldScreen: @@ -126,6 +127,7 @@ class driver(): vcsa[currScreen].seek(0) lastScreenContent = vcsa[currScreen].read() else: + self.env['runtime']['debug'].writeDebugOut('ScreenUpdate',debug.debugLevel.INFO) vcsa[currScreen].seek(0) screenContent = vcsa[currScreen].read() if screenContent != lastScreenContent: