Giter Club home page Giter Club logo

Comments (5)

douglascdev avatar douglascdev commented on June 4, 2024 1

@knosmos I was confused as well the first the I ran the script and this happened. What do you think of validating if the terminal size is enough to show the image, showing a warning message instead of drawing everything else if the image is bigger than the terminal size + size of the UI? It would have to run the validation after an image is loaded and every time the terminal size changes.

from cmdpxl.

rothgar avatar rothgar commented on June 4, 2024 1

Nice! Thanks for fixing that! I included cmdpxl on my list of awesome TUI apps https://github.com/rothgar/awesome-tuis

from cmdpxl.

knosmos avatar knosmos commented on June 4, 2024

It looks like you're making an image that is too large (something like 30x30 is usually the maximum). I might add support for larger images sometime (for example by being able to pan around) but for now try making a smaller image.

from cmdpxl.

knosmos avatar knosmos commented on June 4, 2024

Alright, I've added support for panning around the image, so it should be able to work with larger images now. The pan function is a bit buggy on Ubuntu but it should be usable - give it a try?

ezgif com-gif-maker (2)

from cmdpxl.

douglascdev avatar douglascdev commented on June 4, 2024

Oh, so that's what you meant... much simpler and better than my solution, well done 😁
It's just a bit confusing to move around when in a blank image(and easy to lose track of where your cursor is). When you move the cursor from the initial position to the left, for instance, it looks like it disappeared, while it actually went to the other side of the screen.

from cmdpxl.

Related Issues (3)

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.