From f0f2fe362dbc50e9eacd03b2b3f1e1713470fe2c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 31 Jul 2019 12:27:01 -0400 Subject: Import terminal emulation from shotty --- stream.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 stream.h (limited to 'stream.h') diff --git a/stream.h b/stream.h new file mode 100644 index 0000000..d03d30d --- /dev/null +++ b/stream.h @@ -0,0 +1,20 @@ +/* Copyright (C) 2019 C. McEnroe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +typedef unsigned uint; + +void termInit(uint rows, uint cols); +void termUpdate(wchar_t ch); -- cgit 1.4.1