2016-03-08 22:39:21 +00:00
|
|
|
// #include "term.h"
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
/* [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";
|
|
|
|
}
|