blob: cf9078943075fd76dd9c0922ea782596c04b7439 (
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
25
26
27
28
29
30
31
32
|
#ifndef DEF_FWIK_IO_TERM_H
#define DEF_FWIK_IO_TERM_H
#include <stdio.h>
#include "Node.h"
#include <readline.h>
class Term : public Node {
int w, h;
readline_history hist;
void _init();
public:
Term(FILE f);
Term(char* filename, int mode);
Term(const Node &n);
virtual ~Term();
virtual void print(char *s);
virtual void printf(char* fmt, ...);
virtual void vprintf(char* fmt, va_list ap);
virtual char* readln();
char* readline();
virtual Term* as_term() { return this; }
};
#endif
|