tmuxでSixel
This is the diff between the backup and the current copy.
# tmuxでSixel
上流のtmuxはSixelに対応してるけど、OpenBSD標準のtmuxはSixelに対応してない。
OpenBSDでSixelに対応したtmuxを使うには、上流のtmuxを持ってきてビルドする。
```
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure --enable-sixel
make
```
ところがこのままだとヘッダファイルが競合してエラーになる。
修正するには
* control.c
* events-payload.c
* monitor.c
に含まれる
```
#include <event.h>
```
を削除する。
---
現在のtmuxがSixelに対応してるか確認する方法。
```
tmux display-message -p '#{sixel_support}'
```
これが0だと対応していない。
1だと対応している。