add mouse copy operation in the terminal