cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
891 stars 114 forks source link

Gray colouring of the terminal font upon closing #426

Closed akien-mga closed 8 years ago

akien-mga commented 8 years ago

Hi there,

I've noticed that when I close cdogs-sdl, the font of my terminal turns gray (see the last line): spectacle b11320

I imagine that you have some code that changes the font colour for the log output, but you're not resetting it to the right one in the end. I think you'd need to use [39m to reset to the user-defined colour: http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html

akien-mga commented 8 years ago

It seems also to happen after CampaignLoad(): spectacle v11320

cxong commented 8 years ago

Thanks for raising; I haven't tested but it was an issue with an upstream lib.