summary refs log tree commit diff
path: root/stream.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-31 12:27:01 -0400
committerJune McEnroe <june@causal.agency>2019-07-31 12:27:01 -0400
commitf0f2fe362dbc50e9eacd03b2b3f1e1713470fe2c (patch)
treecfb9faef4cafaf6d3240ff14926c1936ca1b323d /stream.h
parentPass original command to dispatch (diff)
downloadstream-f0f2fe362dbc50e9eacd03b2b3f1e1713470fe2c.tar.gz
stream-f0f2fe362dbc50e9eacd03b2b3f1e1713470fe2c.zip
Import terminal emulation from shotty
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h20
1 files changed, 20 insertions, 0 deletions
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 <june@causal.agency>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+typedef unsigned uint;
+
+void termInit(uint rows, uint cols);
+void termUpdate(wchar_t ch);