Giter VIP home page Giter VIP logo

Comments (10)

jstkdng avatar jstkdng commented on August 23, 2024

Hi, thanks for reporting. Which terminal are you using? I think the windows terminal doesn't implement the methos ueberzugpp uses to calculate the terminal sizes. Can you test WezTerm? It should work when you run ueberzugpp layer.

from ueberzugpp.

yuzhegan avatar yuzhegan commented on August 23, 2024

i had just use WezTerm,and use the test scripts,

#!/bin/sh

UB_PID_FILE="/tmp/.$(uuidgen)"
ueberzugpp layer --no-stdin --silent --use-escape-codes --pid-file "$UB_PID_FILE"
UB_PID="$(cat "$UB_PID_FILE")"
export UB_SOCKET=/tmp/ueberzugpp-"$UB_PID".socket
ueberzugpp cmd -s "$UB_SOCKET" -a add -i PREVIEW -x "$1" -y "$2" --max-width "$3" --max-height "$4" -f "$5"
read -r
ueberzugpp cmd -s "$UB_SOCKET" -a exit

then i paste the "sh ueberzug.sh 0 30 30 ./domo.png" it show nothing in the terminal.

this is my config:

{
    "layer": {
        "silent": true,
        "use-escape-codes": false,
        "no-stdin": false,
        "output": "sixel"
    }
}

OS: WSLg archlinux
terminal: WezTerm

but when i change the config: "output":"item2", it can show the pic, but this picture is not clear.
how should i do to use the ueberzugpp?
thanks for your replay

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

You can test with the kitty output. If that doesn't work then maybe it could be an issue with wezterm under windows.

from ueberzugpp.

yuzhegan avatar yuzhegan commented on August 23, 2024

kitty also can't output anything

from ueberzugpp.

yuzhegan avatar yuzhegan commented on August 23, 2024

does this suppter alaclitty in windwos?

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

Hmm, that script needs 5 arguments but you are passing 4. If that doesn't work then open an issue with wezterm.

does this suppter alaclitty in windwos?

alacritty could work, you need a patched version though. https://github.com/chrhasse/alacritty-sixel

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

You could also use kitty, wezterm or alacritty-sixel-git from inside wsl2 with wslg.

from ueberzugpp.

yuzhegan avatar yuzhegan commented on August 23, 2024

missing what configs for this config?

{
    "layer": {
        "silent": true,
        "use-escape-codes": false,
        "no-stdin": false,
        "output": "sixel"
    }
}

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

sorry, didn't see your comment. That config is fine.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

no word from op for some time now, closing

from ueberzugpp.

Related Issues (20)

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.