2

Yesterday I updated to Ubuntu 21.04. This is basically the same issue as this post. I solved the original issue (using this answer) of having the text highlighted when I paste something into the terminal by adding bind 'set enable-bracketed-paste off' to my ~/.bashrc.

However, I used R interactively from the terminal and when I paste something into the terminal, the same issue of highlighting the text appears. Even more annoying, if I paste multiple lines in then only the first one executes and the remaining lines are left 'piled up' (the line with assign(c_list[1]....). This means I have to hit enter twice before I can enter anything into the terminal.

This never used to happen before the update - does anyone know a fix?

enter image description here

1 Answers1

1

The second more annoying problem looks like the 'enable-bracketed-paste On' option enabled by default in bash 5.1. To revert to the old behaviour create or edit .inputrc (in home dir) adding the line

set enable-bracketed-paste Off