summaryrefslogtreecommitdiff
path: root/userspace/sys
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-06-10 13:47:16 +0200
committerMichal Idziorek <m.i@gmx.at>2015-06-10 13:47:16 +0200
commit559eea53ecdd1e3e45f24d15e8739419b0cd647a (patch)
tree59cc8310bc910ed2bfc338d45f66c2a25dcaca92 /userspace/sys
parent8a665b53229ce8f563b88bb33aa1ab3db4c1c096 (diff)
experimenting with ncurses
Diffstat (limited to 'userspace/sys')
-rw-r--r--userspace/sys/sgtty.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/userspace/sys/sgtty.h b/userspace/sys/sgtty.h
index 9e91b44..24d0218 100644
--- a/userspace/sys/sgtty.h
+++ b/userspace/sys/sgtty.h
@@ -5,11 +5,15 @@
#define CRMOD 0x10
#define ECHO 0x20
+// TODO: same struct should be used for /terminal/terminal.h ?
struct sgttyb{
+
int sg_ospeed;
- int sg_erase;
- int sg_kill;
+ int sg_ispeed;
+
+ char sg_erase;
+ char sg_kill;
+
int sg_flags;
- // TODO: same struct should be used for /terminal/terminal.h ?
};