From 559eea53ecdd1e3e45f24d15e8739419b0cd647a Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 10 Jun 2015 13:47:16 +0200 Subject: experimenting with ncurses --- userspace/sys/sgtty.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'userspace/sys/sgtty.h') 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 ? }; -- cgit v1.2.3