Why can't I resize the console properly?

So for some reason whenever I run my game it now crops the bottom like 6 lines of output in the terminal. Why can’t I seem to run the program in a separate webpage anymore for testing?

Also I never used to have this problem, when I wrote this program 3 years ago it always ran fine in the repl.it terminal so this is a recent problem. Any help is appreciated.
Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

:wave: Welcome @JAGMAN248!

You can double click where it says “Console” to maximize the tab.