aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.h
blob: f7a202331658a5df431c289792ec0c28cfddfc1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _RUNES_TERM_H
#define _RUNES_TERM_H

#include <vt100.h>

struct runes_term {
    RunesWindowBackend w;
    RunesPtyBackend pty;
    VT100Screen scr;
    RunesConfig config;
    RunesDisplay display;
    RunesLoop *loop;
};

void runes_term_init(RunesTerm *t, RunesLoop *loop, int argc, char *argv[]);
void runes_term_set_window_size(RunesTerm *t, int xpixel, int ypixel);
void runes_term_cleanup(RunesTerm *t);

#endif