GithubHelp home page GithubHelp logo

Unlucky text truncation about pixi HOT 3 CLOSED

prefix-dev avatar prefix-dev commented on June 24, 2024
Unlucky text truncation

from pixi.

Comments (3)

ruben-arts avatar ruben-arts commented on June 24, 2024

He I think growing it a little would help here, but that would be just for conda-forge. robostack-humble for instance would be longer again.

If we make the loading information auto-scaling it will look better. But it will look horrible when you resize your terminal. e.g.:
Terminal output after rescaling the terminal

What do you think of this solution and what would you prefer?

from pixi.

jonashaag avatar jonashaag commented on June 24, 2024

Yes, broken TUI scaling is somewhat expected. But I think it should be possible without:

  • Clear all progress bars when the command is finished, so no old progress bars are left on the scroll back.
  • Handle terminal resizes in the progress bar printing code.

from pixi.

baszalmstra avatar baszalmstra commented on June 24, 2024

We use the indicatif crate for all our progress bar handling. There have been some improvements recently. With the latest release on my machine (Windows) this now happens when the terminal is too small:

Recording.2023-08-14.100814.mp4

I think that's already a lot better?

from pixi.

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.