summaryrefslogtreecommitdiff
path: root/libterm/term.h
blob: 4565571d0330ef63655ae1e0b304782536579c60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __LIBTERM_TERM_H
#define __LIBTERM_TERM_H

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <sys/ioctl.h>

#include "screen_modes.h"

typedef struct term_screen
{
	screen_mode_e mode;
	int term_col, term_row;
} term_screen;

int term_init_data( term_screen* );
int term_get_col(  );
int term_get_row(  );

#endif