Code Monkey home page Code Monkey logo

Comments (7)

chessman avatar chessman commented on May 28, 2024

@abiosoft I can try to fix it because it affects me too. Any ideas how to implement pagination in terminal? It looks that it is easy to find out terminal size. But Checklist can be printed not from the beginning of the screen. I need to know height of Checklist area.

from ishell.

abiosoft avatar abiosoft commented on May 28, 2024

We can handle the condition for term.height < len(options) separately and intelligently print only what the user expects to see.

from ishell.

ahmetb avatar ahmetb commented on May 28, 2024

@chessman I strongly recommend looking at Inquisitior.js. It's been out there for at least 4 years.

from ishell.

chessman avatar chessman commented on May 28, 2024

@ahmetb Do you suggest this project? https://github.com/dailymuse/inquisitor.js
I can't find any CLI-related code here.

from ishell.

ahmetb avatar ahmetb commented on May 28, 2024

@chessman my bad. https://github.com/SBoudrias/Inquirer.js/

from ishell.

chessman avatar chessman commented on May 28, 2024

@ahmetb Nice project. They fix number of items per page, it didn't occur to me. I scroll screen to be on the top to free maximum space. It can be avoided. If I had enough time I would implement it as in Inquirer.js.

from ishell.

ahmetb avatar ahmetb commented on May 28, 2024

Thanks, it works good enough for now.

from ishell.

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.