summaryrefslogtreecommitdiff
path: root/libterm/term_io.h
blob: 8c572827394a775519aefe2feb4542e447563ea9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __LIBTERM_PRINT_UTILS_H
#define __LIBTERM_PRINT_UTILS_H

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

#include "screen_modes.h"
#include "term.h"

int term_fprint( screen_mode_e mode, FILE *f );
int term_print( term_screen *ts, const char *s, size_t n );
int term_print_xy( term_screen *ts, const char *buf, size_t size, 
    int init_column, int init_row);
int term_draw_hline( term_screen *ts, int pc, int pr, int sz, char ch );
int term_getc( term_screen *ts );

#endif