Giter Site home page Giter Site logo

Comments (3)

MikaelFangel avatar MikaelFangel commented on September 10, 2024

The exit-code for both "No" and CTRL+C is now 1. You can check this with the following snippet:

gum confirm; echo $?

And the user aborted message is fixed by: #578

from gum.

mylinuxforwork avatar mylinuxforwork commented on September 10, 2024

@MikaelFangel Thanks. But how can a user now abort completely the gum confirm request and exit the script?

from gum.

MikaelFangel avatar MikaelFangel commented on September 10, 2024

Okay, I investigated it a bit more and the issue you are experiencing is actually linked to the implementation of huh? not handling the user aborted properly. So, it should be fixed by the PR I've linked to this issue now, as it returns the exit code back to 130 as of earlier versions of gum.

Screenshot 2024-05-24 at 22 23 14

from gum.

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.