Git Product home page Git Product logo

Comments (5)

IbexPeak avatar IbexPeak commented on August 17, 2024 1

Sorry for the late reply, CancellationToken would be ok for me.

from sharprompt.

dan-kli avatar dan-kli commented on August 17, 2024

Hey, I would also love to have this feature.

I have a console app that sometimes receives requests from a server, in which case I would like to stop the current prompt question and start a new one with the request coming from the server.

Thanks for making this cool prompt, I was looking for something like this for a while and just came across this project this week.

from sharprompt.

shibayan avatar shibayan commented on August 17, 2024

Do you think adding support for CancellationToken would fulfill your request?

I would like to refer to the API design.

from sharprompt.

dan-kli avatar dan-kli commented on August 17, 2024

For my case I would think that would definitely work, all I want to do is to cancel the current prompt question and create a new one.

I guess this is also what @IbexPeak needs?

Thank you for your reply.

from sharprompt.

hheexx avatar hheexx commented on August 17, 2024

CancellationToken would be nice.
Additional nice feature would be to support handilng ESC in prompts (in addition to ctrl+c).

from sharprompt.

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.