I think the reason I can't find answers to this is because it's not a thing. But I want to change the size of my mac terminal from within my python code. I'm working on a little game project and want to add ASCII art but also want it to be formatted correctly across OS's. I've dug into the os python library and hit all the walls with that. But if you have any answer at all (even if its that it can't be done), that would save me so much time.
-
So are you outputting into a terminal and you want to change the size of that terminal?Thavas Antonio– Thavas Antonio2022-06-14 20:34:51 +00:00Commented Jun 14, 2022 at 20:34
-
I think you may have to do this in AppleScript. See stackoverflow.com/questions/2940916/…Barmar– Barmar2022-06-14 20:34:57 +00:00Commented Jun 14, 2022 at 20:34
-
This (unrelated) bug talks about the VT escape sequences to do it: github.com/microsoft/terminal/issues/5094 (that aren't correctly supported in Windows Terminal).Roger Lipscombe– Roger Lipscombe2022-06-14 20:41:17 +00:00Commented Jun 14, 2022 at 20:41
-
Please provide enough code so others can better understand or reproduce the problem.Community– Community Bot2022-06-15 04:33:30 +00:00Commented Jun 15, 2022 at 4:33
Add a comment
|