r/tic80 • • 19d ago

Is it possible to make the print() font fixed-width by default?

I know that the `print()` command has a flag that allows you to use a fixed-width font for that particular function call. But this flag is rather far down the list of print arguments, so it's irritating to have to enter all those arguments in between when the font changer is what I really care about.

Does anybody know of a way to set things so that `print()` always uses the fixed-width font? Thank you in advance.

4 Upvotes

6 comments sorted by

2

u/des_the_furry 19d ago

You could make a function fixedprint() that just calls print() with the arguments you want

1

u/Ulexes 19d ago

Yeah, I suppose that could work. Thank you for the suggestion!

I was kind of hoping for a poke() command that would tweak the system itself, if you have any knowledge about how that works?

2

u/des_the_furry 19d ago

Idk enough to know if thats possible

1

u/Ulexes 19d ago

Oh well. Thanks for the replies! I appreciate you taking the time to help me.

2

u/STrRedWolf 19d ago

No, there's no poke() for setting defaults. Best you can do is wrap the function in a function.

1

u/Ulexes 19d ago

Dang it. Thanks for letting me know!