|
I hosed around with curses for some roguelike projects it’s kinda of a pita. wrapping most of it in a function to cleanly exit on an exception or something without loving your terminal up is pretty normal I think
|
# ¿ Feb 11, 2024 02:25 |
|
|
# ¿ May 15, 2024 10:12 |
|
also the y, x coordinate convention is stupid
|
# ¿ Feb 11, 2024 02:26 |
|
Silver Alicorn posted:I learned you can type stty sane ^J to unfuck the terminal huh TIL
|
# ¿ Feb 11, 2024 03:32 |
|
curses is one of those libraries that makes you think “oh drat, I could do a whole aesthetic in this. why did computers ever evolve guis?” and then “I want to kill myself” like 5 mins later
|
# ¿ Feb 11, 2024 06:06 |
|
op make a yospos roguelike green, natch
|
# ¿ Feb 15, 2024 04:55 |
|
I vaguely remember having to janitor some things so that the same python curses script would work on both linux and windows. I forget what it was but there is something about most windows curses implementations that is very slightly off. I don’t remember what that is now, so you’re welcome for this very useful tip!
|
# ¿ Feb 15, 2024 19:30 |
|
Best Bi Geek Squid posted:op make a yospos roguelike Jonny 290 posted:a yospos browser inside of it the people have spoken, op. they want the pos
|
# ¿ Feb 16, 2024 00:29 |
|
json derulo
|
# ¿ Feb 16, 2024 22:25 |
|
|
# ¿ May 15, 2024 10:12 |
|
quote:This is a very sanitised version of hello world.
|
# ¿ Feb 25, 2024 02:36 |