Giter Club home page Giter Club logo

alacritty-sixel's Issues

XTSMGRAPHICS Pi=2, Pa=1 returns the different value from xterm.

XTSMGRAPHICS Pi=2, Pa=1 (Read sixel graphics geometry) returns always width and height defined in MAX_GRAPHIC_DIMENSIONS regardless of text area width and height, but it is different from xterm, which propose this extension.

$ IFS=';' read -a REPLY -s -t 0.25 -d "S" -p $'\e[?2;1;0S'; echo "width=${REPLY[2]} height=${REPLY[3]}"
width=4096 height=4096

By this problem, https://github.com/hackerb9/lsix can not layout pictures as expected position.
It should returns width and height smaller than or equal to, in other words fitting in, text area width and height, that is same behavior as xterm.

alacritty-sixel
image

xterm
image

ranger-sixel image previews are broken

Hello, I'm using archlinux, sway, alacritty-sixel (0.12.0-dev (53110c6)) and ranger-sixel both installed from AUR. It shows broken previews like in the picture and flickers sometimes. But after refreshing the screen like screenshoting or switching to another workspace then back, the preview goes back to normal. Maybe it's a problem with wayland because It's good on X11. Also, when using another machine(X11) to ssh into the current one(Sway), all are good. I also tried lsix on sway, which works stably. Is this a known problem or how can I fix that? The picture is taken with my phone because when screenshoting the preview is good like what I just said.

grimshot-22-10-18-13-38-39-705605628

chevrons at the beginning of lines in sixel graphics

When printing any sixel image, I'm seeing chevrons at the beginning of the line. I don't know why they are there or how to get rid of them.

Original png: https://github.com/saitoha/libsixel/blob/master/images/snake.png
Original sixel: https://raw.githubusercontent.com/saitoha/libsixel/master/images/snake.six
My output: screen

System

OS: Arch Linux
Version: alacritty 0.11.0-dev (32fa60c6)
Linux/BSD: Xorg, i3-gaps, picom-ibhagwan-git

Logs

Font/Terminal size:

Created log file at "/tmp/Alacritty-56202.log"
[0.000099603s] [INFO ] [alacritty] Welcome to Alacritty
[0.000204977s] [INFO ] [alacritty] Version 0.11.0-dev (32fa60c6)
[0.000212772s] [INFO ] [alacritty] Running on X11
[0.001076225s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/timeshifter/.config/alacritty/alacritty.yml"
[0.002024590s] [DEBUG] [alacritty] Loading "SauceCodePro Nerd Font" font
[0.009558652s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.011726873s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.013887462s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.016060684s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.017641930s] [DEBUG] [alacritty] Estimated scaling factor: 1.25
[0.017750149s] [DEBUG] [alacritty] Estimated window size: None
[0.017753619s] [DEBUG] [alacritty] Estimated cell size: 10 x 23
[0.131764393s] [INFO ] [alacritty] Display scale factor: 1.25
[0.131779454s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.135230388s] [INFO ] [alacritty] Cell size: 10 x 23
[0.135239576s] [INFO ] [alacritty] Padding: 0 x 0
[0.135242555s] [INFO ] [alacritty] Width: 800, Height: 600
[0.137750703s] [INFO ] [alacritty] PTY dimensions: 26 x 80
[0.138954951s] [INFO ] [alacritty] Initialisation complete
[0.224812003s] [DEBUG] [alacritty_terminal] New num_cols is 125 and num_lines is 19
[0.238692066s] [INFO ] [alacritty] Padding: 0 x 0
[0.238706865s] [INFO ] [alacritty] Width: 1257, Height: 455
[0.242445613s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }

New merge needed

can anyone help me to resolve the merge conflicts with alacritty/master? I'm not a rust guy so...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.