Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsix doesn't work on Wezterm + Windows + Git Bash shell #69

Open
ykhan21 opened this issue Jan 1, 2024 · 0 comments
Open

lsix doesn't work on Wezterm + Windows + Git Bash shell #69

ykhan21 opened this issue Jan 1, 2024 · 0 comments

Comments

@ykhan21
Copy link

ykhan21 commented Jan 1, 2024

Are we sixel yet says that Wezterm supports sixel graphics, though lsix doesn't seem to work with it on Windows.

I've included some relevant information below.

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ file ~/Pictures/mainframe.png
/c/Users/username//Pictures/mainframe.png: PNG image data, 854 x 480, 8-bit/color RGBA, non-interlaced

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ wezterm -V
wezterm 20231228-084719-ff274374

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ magick -version
Version: ImageMagick 7.1.1-25 Q16-HDRI x64 98e7513:20231230 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Channel-masks(64-bit) Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib
Compiler: Visual Studio 2022 (193732826)

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ echo $COMSPEC
C:\WINDOWS\system32\cmd.exe

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ echo $SHELL
/usr/bin/bash

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ bash -version
GNU bash, version 5.2.21(1)-release (x86_64-pc-msys)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ lsix ~/Pictures/mainframe.png
bash: lsix: command not found

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ ./lsix ~/Pictures/mainframe.png
Error: Your terminal does not report having sixel graphics support.

Please use a sixel capable terminal, such as xterm -ti vt340, or
ask your terminal manufacturer to add sixel support.

You may test your terminal by viewing a single image, like so:

convert  foo.jpg  -geometry 800x480  sixel:-

If your terminal actually does support sixel, please file a bug
report at http://github.com/hackerb9/lsix/issues

Please mention device attribute codes: ^[[?61;6;7;22;23;24;28;32;42c

username@LENOVO MINGW64 /c/Users/username/repos/lsix (master)
$ echo $TERM
xterm-256color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant