From 90ebbaf749b9a6dd5c91886bc66cc7502f779fdd Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 9 Nov 2016 21:41:06 +0100 Subject: [PATCH] improve example --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 6a7286b0..e6ecc15f 100644 --- a/TODO +++ b/TODO @@ -10,7 +10,7 @@ ToDos in Priority order: fenrir is not able to detect the current application inside of screen. ps -e -H -o pid,pgrp,ppid,tty,cmd http://stackoverflow.com/questions/24861351/how-to-detect-if-python-script-is-being-run-as-a-background-process/24862213 - fd = open("/dev/tty") + fd = os.open("/dev/tty5", os.O_RDONLY ) os.tcgetpgrp(fd) - implement onScreenUpdate commands