Files
Tart/source/term.h

38 lines
1.2 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
#define NOREAD 0
#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();
unsigned char term_key_pressed();
void term_handled_key();
void term_end_of_key();
void term_start_read();
void term_disable_cursor();
void term_enable_cursor();
#endif