Code Monkey home page Code Monkey logo

Comments (4)

ZaLiTHkA avatar ZaLiTHkA commented on July 17, 2024 1

@vassudanagunta I agree with you on that point, it's definitely not very "intuitive" as it is right now.

on the other hand, the fact that there is already a mechanism in place to "cancel" interactive mode also means that adding support for a q or x shortcut to do the same thing shouldn't need entirely new functionality, just a small adjustment to which key actually triggers it.

either way, a short message in the initial usage notes would clear this up for everyone.

from npm-check-updates.

raineorshine avatar raineorshine commented on July 17, 2024

Thanks for the suggestion. I'd be happy with q for quit.

from npm-check-updates.

ZaLiTHkA avatar ZaLiTHkA commented on July 17, 2024

just thinking out loud here, but perhaps this could be "fixed" by simply updating the input descriptions for interactive mode?

pressing "escape" cancels the interactive mode prompt, returning the user to their terminal, as (I imagine) the OP would expect q or x to do.

from npm-check-updates.

vassudanagunta avatar vassudanagunta commented on July 17, 2024

@ZaLiTHkA Good to know. But not very obvious or intuitive: In my experience, ESC is a standard idiom for cancellation in GUI apps. If I am remembering correctly, all the CLIs I've used exit on q or x. If I am not, I would suggest that it match most user expectations / CLI conventions. For me personally, I am fine with ESC.

from npm-check-updates.

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.