I'm currently trying to setup end2end tests for my #ncurses applications by comparing the contents of the terminal with #tmux capture-pane. On my local Gentoo machine this works fine. However, when running this on #travis-ci, the terminal size is exactly one line shorter... I reproduced this with a local #ubuntu xenial/bionic virtual machine where I opened a tmux session and captured it. The captured text is always one line too short!
My tests are locates at
https://github.com/deinstapel/cursive-multiplex
Any ideas?
It looks like this has something to do with the #tmux version shipped by travis-ci. Travis-CI is shipping tmux v2.1 in the bionic dist-image, while ubuntu provides tmux v2.6 on a plain ubuntu bionic installation. When using v2.6 my tests work fine. So now I have to figure out how to get a newer tmux version on travis-ci...