SDL_Bgi
Graphics library (GRAPHICS.H) for C, C++, WebAssembly, and Python.
...It's based on SDL2 / SDL3 and it's portable on many platforms.
SDL_bgi is functionally compatible with the original BGI in Turbo C and Borland C++, and also with another implementation, WinBGIm.
In addition, SDL_bgi provides extensions for ARGB colours, mouse support, vector fonts, and multiple windows.