Made the terminal_set_fg and terminal_set_bg functions actually work