chris00 / ansiterminal Goto Github PK
View Code? Open in Web Editor NEWBasic control of ANSI compliant terminals and the windows shell.
License: Other
Basic control of ANSI compliant terminals and the windows shell.
License: Other
As we have briefly discussed (through email), it would be nice to have more colors beyond just the default eight currently supported in this package.
I tested your test case on windows using the diskuv ocaml windows install
Here are the results :
module T = ANSITerminal
let () =
T.print_string [T.Bold; T.Foreground T.Red; ] " Bold red ";
T.print_string [T.Foreground T.Red; T.Underlined] "not Bold red";
T.print_string [T.Bold] " bold ";
T.print_string [T.Underlined] "Underlined ";
T.print_string [T.Blink] "Blink ";
T.print_string [T.Inverse] "Inverse ";
T.print_string [T.Hidden] "Hidden";
print_string "<-- hidden\n"
I don't know if it can help you, but both tests from your repo fail with exit code 3221225477
in VS Code integrated terminal. However, mine works as in normal cmd terminal
the init function here
ANSITerminal/src/ANSITerminal_win_stubs.c
Line 114 in ccfb218
I was wondering if ANSITerminal has support for stripping the escape codes if output is not attached to a terminal, like Jansi.
I didn't see any way to do it, but maybe I missed something.
If this isn't something ANSITerminal supports, does it sound like something that would be difficult to implement?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.