GithubHelp home page GithubHelp logo

Comments (3)

linuswillner avatar linuswillner commented on August 18, 2024

If I understand you correctly, you're looking for a method to take input, run an async task, and then push the result to the terminal separately? Could Async output be what you're looking for?

from react-console-emulator.

scovic avatar scovic commented on August 18, 2024

Yes, but i don't want to define a command for it in commands prop, i want to take whole raw input and send it over the network.

from react-console-emulator.

linuswillner avatar linuswillner commented on August 18, 2024

Ah, so you're looking for something akin to what was suggested in #415, and just pass all of it through. Unfortunately, I have in the past declined to add this feature for a multitude of reasons, not least of which being the ones outlined in #415 (comment). That feature is still unviable for me to dedicate lots of time and effort to (The former of which I don't have a whole lot) when actual quality-of-life improvements are still on the docket.

I might implement something like this one day, but for now, I can't promise anything. If you absolutely need to pass the input over the network sight unseen, then your best option is probably to look for a terminal library with a lesser focus on a ready-made command API.

from react-console-emulator.

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.