Code Monkey home page Code Monkey logo

Comments (4)

K-Nick avatar K-Nick commented on May 28, 2024 1

Hello!

Thanks for the request.

I'm yet to test this viewer (and term-image, the library it depends on) on xterm-addon-image which the VS Code terminal depends on.

In the mean time, please ensure image support is enabled and try to run termvisage with the options -S iterm2 --force-style. Though, I suspect output may be sorta garbled due to xterm-addon-image's cursor placement policy being different from the norm. Anyways, please let me know the results.

Once I've been able to test on xterm.js, I'll make any neccessary changes upstream (at term-image) to get things working out of the box.

Thanks.

Turning on Image Support and adding options -S iterm2 --force-style work great on latest vscode! Many thanks for your guidance and hard working:)

A minor issue is that the picture will lose a small portion at its bottom left corner. However, this does not affect the overall experience so far.
image
image

from termvisage.

AnonymouX47 avatar AnonymouX47 commented on May 28, 2024 1

Turning on Image Support and adding options -S iterm2 --force-style work great on latest vscode! Many thanks for your guidance and hard working:)

Glad to hear that 😃 and thanks for the quick response. You're welcome.

A minor issue is that the picture will lose a small portion at its bottom left corner. However, this does not affect the overall experience so far.

I see... as expected. It's due to the cursor-positioning issue with xterm-addon-image that I mentioned earlier. The "garbled" was actually referring to the TUI mode.

I intend to open an issue at the concerned repository after I've looked into it properly. I'll wait for the developer's response to this before going ahead with adding out-of-the-box support for the terminal emulator.

In the mean time, you can add the -H right option to apply right alignment to images. This should help avoid the erasure of some portion of the last line.

I'll get back to you as soon as there's any development.

Thank you.

from termvisage.

AnonymouX47 avatar AnonymouX47 commented on May 28, 2024

Hello!

Thanks for the request.

I'm yet to test this viewer (and term-image, the library it depends on) on xterm-addon-image which the VS Code terminal depends on.

In the mean time, please ensure image support is enabled and try to run termvisage with the options -S iterm2 --force-style. Though, I suspect output may be sorta garbled due to xterm-addon-image's cursor placement policy being different from the norm. Anyways, please let me know the results.

Once I've been able to test on xterm.js, I'll make any neccessary changes upstream (at term-image) to get things working out of the box.

Thanks.

from termvisage.

AnonymouX47 avatar AnonymouX47 commented on May 28, 2024

About tmux support, that's planned and should hopefully come soon (though, to the library, term-image first) but note that there are various limitations to using graphics protocols within tmux.

from termvisage.

Related Issues (7)

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.