Giter VIP home page Giter VIP logo

Comments (5)

TimonPost avatar TimonPost commented on June 25, 2024

Yes, im currently working on that. I'll will make feature flags to allow you to only have the clearing functionality of crossterm.

If you are on Windows 10 ANSI escape codes are used other windows versions are using winapi. Before you can execute ANSI escape codes on windows you have to execute on winapicall to enable this functionality.

I can link you some links later due the fact I'm on my phone now.

from crossterm.

cyberpunkbln avatar cyberpunkbln commented on June 25, 2024

Great thx and for the links,later.

Your crate functioned very well, before i dig deep into the native GUI-Development (i'm using the gnu toolchain on windows and this make it something stranger and i search something rust pure guis and the mostly guis are wrapper for c/c++ libs/guis:)) i will test software with an terminal only user interface.

Yeah the feature feature :) sounds very good.

from crossterm.

TimonPost avatar TimonPost commented on June 25, 2024

Nice!
So here you can find some links I use for clearing the console screen:

This is the line for clearing screen with ANSI escape codes:

Here you can find the code responsible for enabling ANSI-codes on windows.

Note that your not able to use ANSI escape codes on Windows systems < 10

from crossterm.

cyberpunkbln avatar cyberpunkbln commented on June 25, 2024

So cool i think i better use your Crate for cross terminal functions:). Its stupid to code whatever others has coded, too.

So i close this and wait for the Feature System, then i can choose what i want, directly.

from crossterm.

TimonPost avatar TimonPost commented on June 25, 2024

Yes, that is totally true. You can just use the crate right now and when the feature flags will become available it will be easy to add them.

from crossterm.

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.