Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix tests with tmux >= 2.5
In tmux < 03d01eabb5c5227f56b6b44d04964c1328802628 (first released in tmux-2.5), the `capture-pane -e' output ran attributes, foreground colour and background colour params together into one escape sequence. After that commit, attributes, foreground colours and background colours are written in separate escape sequences. Therefore for compatibility with different versions of tmux we need to check the ANSI escape sequences in two different ways. Fixes: #78
- Loading branch information
1 parent
4ab0987
commit f3551f6f294e7fc1b1f7c93260118ffdd7ecb664
Showing
1 changed file
with
99 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters