Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social  ·  activity timestamp 2 months ago

If you have an idea for a <500 line stand-alone example C code using #libcurl, tell us!

https://curl.se/libcurl/c/example.html

libcurl - source code examples

  • Copy link
  • Flag this post
  • Block
Jaanus Kase
Jaanus Kase
@jaanus@iosdev.space replied  ·  activity timestamp 2 months ago

@bagder I don’t have any C code to offer

But I checked out the site and found that the contrast/readability/accessibility of comments is not great in dark mode with minimum brightness

Red-on-black comments here are not really readable

Code and everything else is fine and has good readability and contrast, even with minimum brightness

Comments are also fine in light mode

Maybe you want to improve comment accessibility in dark mode. Not sure how big a deal it is

Comments not accessible in dark mode
Comments not accessible in dark mode
Comments not accessible in dark mode
  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social replied  ·  activity timestamp 2 months ago

@jaanus I hear you. I've poked on it a little and it should soon be using a lighter red for the comments and a yellow version instead of the rather dark blue for function names.

https://github.com/curl/curl-www/pull/515

  • Copy link
  • Flag this comment
  • Block
Jaanus Kase
Jaanus Kase
@jaanus@iosdev.space replied  ·  activity timestamp 2 months ago

@bagder 👍 cool, looks more readable now

  • Copy link
  • Flag this comment
  • Block
TheTomas
TheTomas
@TheTomas@social.toot9.de replied  ·  activity timestamp 2 months ago

@bagder 350 LOC in Freebasic

https://codeberg.org/tomas-jakobs/get-dms-doc

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct