add the ability to disable ctty set up
when inside a flatpak we lack permissions to execute the ioctl so the ctty setup does nothing but generate an error
when inside a flatpak we lack permissions to execute the ioctl so the ctty setup does nothing but generate an error