I ssh to my AWS EC2 machine with Amazon Linux from local Ubuntu with GNOME Terminal. If open vim in the ssh session and then Alt+Tab from terminal to another app and then Alt+Tab back, annoying messages appear:
E349: No identifier under cursor or
Press ENTER or type command to continue. After some digging I've figured out the reason: weird characters are sent to ssh terminal when I Alt+Tab:
[ec2-user@ip-172-31-43-121 ~]$ cat ^[[O^[[I^[[O^[[I^[[O^[[I^[[O^[[I^[[O^[[I
^[[O^[[I per single Alt+Tab. What do these characters mean? Why are they sent and how to prevent their occurrence?
EDIT: Fixed by restarting GNOME Terminal.