Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
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