On Arch Linux with Gnome 3.18, I have the problem of terminals behaving
strangely when I resize a terminal window and enter some commands, such as
mpv, for example, and resize again by dragging the window border with the
When I press ↑ to go back in history, and the line is long , no new line (or line break) is created, but the same line overwritten from left to right. When I hold ↑ on the keyboard, the prompt moves to top and 'eats' the terminal output above. I have tried an could see similar behaviour in gnome-terminal, lxterminal and xterm, all started from a gnome session.
Here's a screencast demonstrating this strange behaviour: https://vimeo.com/147162618
What could this be and where could I search the reason for this behaviour?