mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 15:00:38 +00:00
If it looks stupid but works, is it really stupid? Closes #90
This commit is contained in:
parent
9f89e063f7
commit
8708aa73b0
|
@ -11242,13 +11242,15 @@ void sub_cls(int32 method,uint32 use_color,int32 passed){
|
||||||
static uint16 *sp;
|
static uint16 *sp;
|
||||||
static uint16 clearvalue;
|
static uint16 clearvalue;
|
||||||
|
|
||||||
#ifdef QB64_WINDOWS
|
if (write_page->console){
|
||||||
if (write_page->console){ //note, I'm lazy and not adding color support for a console
|
#ifdef QB64_WINDOWS
|
||||||
system("cls"); //it's just the simplest way to do things. :P
|
system("cls"); //lazy but works
|
||||||
qbg_sub_locate(1,1,0,0,0,3);
|
qbg_sub_locate(1,1,0,0,0,3); //is this really necessary?
|
||||||
|
#else
|
||||||
|
system("clear");
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
//validate
|
//validate
|
||||||
if (passed&2){
|
if (passed&2){
|
||||||
|
|
Loading…
Reference in a new issue