Linux terminals have this functionality but Win32 API not sure - Program Dream