Add click event on terminal div