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