Mac on xcode call system function, according to the TERM environment variable not set how to solve? What is you want to configure a environment variables? How can achieve similar to that of the system on the Windows system (" CLS ") this operation?
CodePudding user response:
It is recommended to use the
system (" the clear ");
MAC is a Unix (source), therefore, and Windows or differentiated, Can clear with the clear screen ~ under LINUX