this post was submitted on 11 Feb 2024
8 points (90.0% liked)

C Programming Language

993 readers
1 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

ยฉ Dennis Ritchie

๐ŸŒ https://en.cppreference.com/w/c

founded 1 year ago
MODERATORS
 

Hey. I have been posting this everywhere but few people seem to get what it is. Figured this will be the best place. Thanks.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 9 months ago (1 children)

What is Bat? Is it a terminal emulator? In that case, if Bat is compliant with an standard which ncurses is compliant to -- i.e most of them, it should work fine. Mind you that there are some rough patches, and some flavors of MD are not supported (yet). If you can link me to bat please do, I am not sure what it is to narrow down the search. Thanks.

[โ€“] [email protected] 1 points 9 months ago (1 children)

Bat seems to be a syntax highlighting cat that calls a pager by default.
I would require your program to pass along any formatting (manly colors) that it receives while adding its own.

[โ€“] [email protected] 1 points 9 months ago

ncurses only got 8 basic colors that all terminals support.