Terminal: Close terminal when Ctrl+D performed.