1. tmux attach 2. cat some-json-file.json 3. cat some-json-file.json 4. the console is now unreadable with the wrong letters in the wrong places on the wrong lines. If you are using the terminal before attaching then it is only necessary to cat the json file once before seeing the errors. In general now Konsole + tmux is unusable, had to switch to another terminal :(
The json file has to have more lines than console for the garbling to happen. If you cat the output through `less` then everything is fine. I think this only started happening with tmux 2.4.
Seems to be fixed in konsole compiled from source.
Experiencing same bug with 17.04.1 (and previous ones for several month already). Spotted same complaint on internet, too: https://www.reddit.com/r/kde/comments/67qrmm/anyone_getting_bad_or_good_behavior_with_konsole/ Thanks for reporting and testing upstream. Now waiting for ebuild with a fix then. For now switched to suckless terminal (st).