don't take stdin if in isTTY
Merge remote-tracking branch 'origin/master'