i figured out a way to do it reliably using the "Erase in Line" control code but i've currently only implemented it as a standalone C program in my fork
need help on how to implement it as an option in the C++ version
i think maybe #31 should be merged first and renamed from "background" to "highlighting", or maybe just completely dropped if implementing both in 1 program gets too complicated