Fixed copy and paste for the terminal