window box input are pure black until i move the window around

every time i run a test program, my inputs are a pure black box not allowing me to see what i typed until i grab the window and move it around. Is there any way to fix this?
I'm using Code::Blocks 10.5 under linux Mint
Is this an IDE problem or a C++ needed correction?
Topic archived. No new replies allowed.