Follow

repl.it/@Kasran/colortest if anyone wants to inspect this code (do note that it emphatically doesn't work properly when you try to run it from repl.it, at least not for me)

i already know how to move the cursor around and clear the screen with escape sequences too. once i learn the ways of raw nonblocking I/O im gonna make so much barely functional textmode garbage

@typhlosion Noice! You know more than me then, I just know how to make pretty colors and clear to the end of the line. :3

@typhlosion It's fantastic! A veritable playground of text arrangement! :D

@typhlosion when you're working on unbuffered keyboard input, if you have any questions about termios(3) I might be able to help, please feel free to ask 😁

@typhlosion (looks like the main problem is repl.it chokes on non-ascii characters in program output? also their terminal doesnt support true color mode, so it's using the nearest color from what i assume is xterm's 256 color palette instead)

@typhlosion (terminal codes are hella cool though, its 2019 and i fucking love text based user interfaces)

@bossposs fuck yeah

like i said, once i master raw input im gonna make some horrible nonsense and no one can stop me

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!