if there is no mouse don't loop forever - fixes textmode
Merge pull request #88 from os-autoinst/coolo_fix_textmode

if there is no mouse don't loop forever - fixes textmode