hey! I'm sorry it bugged out. I'll try to track where the issue is.
I'm not using Curses. I use a library called scrap-engine for the terminal prints and pynput for the keyboard commands