|
// #include "term.h"
|
|
|
|
/* [1] Operations terminal
|
|
=========================================================*/
|
|
void clear(){ // efface l'ecran
|
|
cout << "\033[H\033[2J";
|
|
}
|
|
|
|
void setfont(const TERM_COLOR c, const TERM_STYLE s){
|
|
cout << "\033[" << s << ";" << c << "m";
|
|
} |