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

#include <vt100.h>

#include "config.h"
#include "display.h"
#include "pty-unix.h"
#include "window-xlib.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