Giter Site home page Giter Site logo

Comments (3)

certik avatar certik commented on May 24, 2024 1

We probably should. Ncurses used to detect all kinds of ancient terminals that are not in use anymore, but does not work super well in Windows. Our approach should be to support the main terminals in wide use on all platforms. We should detect what we run on and ensure we don't use features the given terminal does not support.

My initial approach with cpp-terminal was to strictly only support the subset which works everywhere. That way you know your program will work. But I think it is also useful to support things that work almost everywhere, but then we need to be able to detect.

from cpp-terminal.

flagarde avatar flagarde commented on May 24, 2024 1

@MCWertGaming This seems to be fixed :

from cpp-terminal.

MCWertGaming avatar MCWertGaming commented on May 24, 2024

Wow that's strange... we should create a stand alone demo for testing everything that cpp-terminal covers. Hve you tried it on windows yet? If it has no issue there it's probably because the macos terminal is interpreting the ANSI code wrong. We should probably really implement functions to check terminal support on runtime like ncurses can (with colors_enabled() or something like that but for all color options).

from cpp-terminal.

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.