~sircmpwn/hare-vt

1c2e8c3e0111289e817cdac76c623e3fec5540c3 — Drew DeVault 1 year, 1 month ago 8d05cf7
xterm: implement xterm_read
1 files changed, 1 insertions(+), 1 deletions(-)

M vt/xterm.ha
M vt/xterm.ha => vt/xterm.ha +1 -1
@@ 51,7 51,7 @@ fn xterm_destroy(term: *term) void = {
};

fn xterm_read(term: *io::stream, buf: []u8) (size | io::EOF | io::error) = {
	abort(); // TODO
	return io::read((term: *xterm).in, buf);
};

fn xterm_write(term: *io::stream, buf: const []u8) (size | io::error) = {