Files
Tart/source/term.h
2025-01-31 19:47:49 +00:00

31 lines
1.0 KiB
C

// #========================================================================#
// | PREACHERDHM:TERM |
// | |
// | term renders all of the data from TART. Term takes a tart_window and |
// | renders all of the buffers and cells inside the that window object. |
// | There is a draw function and a draw buffer function. |
// | |
// | Term is just a way to output the data from tart. |
// #========================================================================#
#ifndef TERM_H
#define TERM_H
#include "tart.h"
struct tart_vec2 term_current_size();
char term_getch();
char term_getche();
// tinput is threaded input
int term_threaded_input_init();
int term_threaded_input_stop();
char term_tinputi(int idx);
char* term_tinputb();
char term_tinput();
void term_disable_cursor();
void term_enable_cursor();
#endif