Yeah, I don't know why it's D1.5. Deserves at least 3 or 3.5 in my opinion. After some googling I got to the solution. There's multiple ways to do it from what I gather but I did it with bash. You're correct that they're ANSI escape sequences, moving the cursor around and writing stuff. I'm on windows so I used this online emulator. I used a line of code taking from this other website, adapting it to the solution. Notice in the cache listing they write the escape character as E, you'll need to change that so bash understands it (see the link). Be careful not to leave spaces or linebreaks. Good luck!
How To Puzzle Cache, Second Edition https://www.amazon.com/dp/0997348895/ref=cm_sw_r_cp_api_glt_fabc_2CZBDBD3NRNDXB0K1GS8?_encoding=UTF8&psc=1
This book made me go from loathing to loving puzzle caches. Won’t help on this one, but I’ve done maybe 200 puzzle caches since getting that book.