BUT I think he maybe has connected the ESP parallel to the UNOs Tx/Rx pins what won't work. The USB<>serial interface on the UNO can't connect to ATMega and ESP in parallel.
If he wants to use the ESP as WiFi module on the UNO AND see the UNO<-->ESP conversation in the terminal window, he has to connect the ESP via software serial to the UNO and adapt his sketch.