added a test for term functions
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
#include "../includes/tart.h"
|
||||
|
||||
|
||||
#ifdef _WIN64
|
||||
// if windows is defined.
|
||||
|
||||
#include <Windows.h>
|
||||
struct tart_vec2 term_current_size() {
|
||||
struct tart_vec2 ret;
|
||||
@@ -19,10 +20,3 @@ struct tart_vec2 term_current_size() {
|
||||
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
|
||||
struct tart_vec2 term_current_size() {
|
||||
struct tart_vec2 ret = {50,50};
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user