mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Merge branch 'master' of github.com:tmux/tmux
This commit is contained in:
commit
f986539e3c
@ -13,11 +13,18 @@ $TMUX kill-server 2>/dev/null
|
|||||||
TMP=$(mktemp)
|
TMP=$(mktemp)
|
||||||
trap "rm -f $TMP" 0 1 15
|
trap "rm -f $TMP" 0 1 15
|
||||||
|
|
||||||
$TMUX -f/dev/null new -d \
|
$TMUX -f/dev/null new -d "
|
||||||
"printf '\033[31;42;1mabc\033[0;31mdef'; $TMUX capturep -peS0 -E0 >$TMP"
|
printf '\033[31;42;1mabc\033[0;31mdef\n'
|
||||||
|
printf '\033[m\033[100m bright bg \033[m'
|
||||||
|
$TMUX capturep -peS0 -E1 >>$TMP"
|
||||||
|
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
printf '\033[1m\033[31m\033[42mabc\033[0m\033[31m\033[49mdef\033[39m\n'| \
|
|
||||||
cmp - $TMP || exit 1
|
(
|
||||||
|
printf '\033[1m\033[31m\033[42mabc\033[0m\033[31m\033[49mdef\033[39m\n'
|
||||||
|
printf '\033[100m bright bg \033[49m\n'
|
||||||
|
) | cmp - $TMP || exit 1
|
||||||
|
|
||||||
$TMUX has 2>/dev/null && exit 1
|
$TMUX has 2>/dev/null && exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user