+++ date = "2022-02-11" tags = ["rust", "terminal", "sixel"] title = "windowsでのsixel" slug = "sixel" +++ [msr](https://github.com/syui/msr)というmastodon clientでは、macはiterm2の`imgcat`を使い、linuxはmltermなどで`img2sixel`を使って画像アイコンを表示します。 windowsの場合は、msys2でsixelをcompileし、minttyで表示できます。 msys2をscoopでinstallする場合のpathは`~/scoop/apps/msys2/current`になります。 ```sh $ scoop install msys2 $ msys2 $ git clone https://github.com/saitoha/libsixel $ cd libsixel $ pacman -S make gcc $ ./configure $ make $ make install $ mintty $ img2sixel test.png ``` https://github.com/saitoha/libsixel windows terminalもsixelに対応してくれるといいんですけどね。 https://github.com/microsoft/terminal https://github.com/microsoft/terminal/issues/448