Coder Social home page Coder Social logo

How to use `stdin`? about sic HOT 4 CLOSED

billksun avatar billksun commented on August 29, 2024
How to use `stdin`?

from sic.

Comments (4)

foresterre avatar foresterre commented on August 29, 2024 1

Thanks once again for the report!

I've released https://github.com/foresterre/sic/releases/tag/v0.21.1 which should fix this issue.

from sic.

billksun avatar billksun commented on August 29, 2024 1

@foresterre , thanks for fixing and releasing the fix so quickly!

from sic.

foresterre avatar foresterre commented on August 29, 2024

Inferring from the help message, I am assuming that when no --input or --glob-input is provided, sic will read from stdin, but that doesn't seem to be the case.

You are correct; this seems to be a bug, I've created a PR which should resolve this in #1400.

Thanks for the report!

from sic.

foresterre avatar foresterre commented on August 29, 2024

In this ascii cast I recorded an example of it working again: https://asciinema.org/a/3RXgxHh9N0JQPu4e0DpJ7VorV

NB: My linux test machine didn't have a gui attached, so I used chafa to preview the images from within the terminal. The recording itself doesn't seem to accept everything shown in the terminal, which is why the image previews (and terminal powerline) show some artifacts, beyond the inherent limitations of chafa.

edit: this is what it looks like for me:

an example image which shows that sic now can use an input read from the stdin once again

from sic.

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.