repo.or.cz
/
fbpad.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
font: don't segfault if font is wider than specified
[fbpad.git]
/
term.h
blob
54341fd26052a80ca35a28f8071fd6f9510ed491
1
#define ESC 27
2
3
struct
term_state
{
4
int
row
,
col
;
5
int
fd
;
6
int
pid
;
7
struct
pad_state pad
;
8
};
9
void
term_save
(
struct
term_state
*
state
);
10
void
term_load
(
struct
term_state
*
state
);
11
int
term_fd
(
void
);
12
void
term_read
(
void
);
13
void
term_send
(
int
c
);
14
void
term_exec
(
char
*
cmd
);
15
void
term_end
(
void
);