projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rationalisation of the system of frontend handles. Most modular bits
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
8e012f5
..
bcf202e
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-4705,13
+4705,8
@@
int term_ldisc(Terminal *term, int option)
return FALSE;
}
return FALSE;
}
-/*
- * from_backend(), to get data from the backend for the terminal.
- */
-int from_backend(void *vterm, int is_stderr, const char *data, int len)
+int term_data(Terminal *term, int is_stderr, const char *data, int len)
{
{
- Terminal *term = (Terminal *)vterm;
-
assert(len > 0);
bufchain_add(&term->inbuf, data, len);
assert(len > 0);
bufchain_add(&term->inbuf, data, len);