microo8 / alacritty-sixel Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alacritty/alacritty
A cross-platform, OpenGL terminal emulator.
License: Apache License 2.0
This project forked from alacritty/alacritty
A cross-platform, OpenGL terminal emulator.
License: Apache License 2.0
After a sixel is rendered, it is never overdrawn if the cursor is moved to some position over the image and something is printed.
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.
can anyone help me to resolve the merge conflicts with alacritty/master? I'm not a rust guy so...
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.
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:
OS: Arch Linux
Version: alacritty 0.11.0-dev (32fa60c6)
Linux/BSD: Xorg, i3-gaps, picom-ibhagwan-git
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 }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.