Wow. Looks pretty clever! I’ve worked at 2 places that had projects to put a gui on top of large terminal based applications. Both has some witchcraft coding to make it work. One was super fragile and ultimately failed as an approach, the other is still used in 100s of banks.