Borland TurboVision (the PC text mode windowing UI used in Turbo Pascal/C++) has been open-sourced and updated to work seamlessly on Linux and with Unicode:

https://github.com/magiblot/tvision

It’s all in C++, though if someone hasn’t wrapped it in bindings for Python/Rust/&c. yet, surely they will

GitHub - magiblot/tvision: A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.

A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support. - magiblot/tvision

GitHub

@acb I literally have a copy of Turbo Pascal 7.0 for DOS on my shelf!

Happy that Turbo Vision is open source.

Tomorrow: I wish all of the Borland Turbo Pascal and Turbo C/C++ compiler stuff was open source. It's MS-DOS. It's time to *let it go.*

Day after tomorrow: WHY IS WORD PERFECT 5.1 STILL CLOSED SOURCE?

[EDIT] Day after that: WE NEED TO OPEN SOURCE WORDSTAR. GEORGE R. R. MARTIN DEPENDS ON IT.

@umbraroze @acb We had some bits of the WordStar source code - I think it was some of the configuration files you got, as assembler language source code.

There was enough there for us to deduce the social dynamics of the team who'd written it.