summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_raw.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commitf05428e4cd63dde97bac14b84dd146a5c00455e3 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libncurses/lib_raw.c
parent6de57e42c294763c78d77b0a9a7c5a08008a378a (diff)
downloadFreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip
FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'lib/libncurses/lib_raw.c')
-rw-r--r--lib/libncurses/lib_raw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libncurses/lib_raw.c b/lib/libncurses/lib_raw.c
index 5635cae..336f689 100644
--- a/lib/libncurses/lib_raw.c
+++ b/lib/libncurses/lib_raw.c
@@ -53,7 +53,7 @@ int cbreak()
SP->_cbreak = 1;
#ifdef TERMIOS
- cur_term->Nttyb.c_lflag &= ~ICANON;
+ cur_term->Nttyb.c_lflag &= ~ICANON;
cur_term->Nttyb.c_lflag |= ISIG;
cur_term->Nttyb.c_cc[VMIN] = 1;
cur_term->Nttyb.c_cc[VTIME] = 0;
@@ -73,7 +73,7 @@ int echo()
T(("echo() called"));
SP->_echo = TRUE;
-
+
#ifdef TERMIOS
cur_term->Nttyb.c_lflag |= ECHO;
if((tcsetattr(cur_term->Filedes, TCSANOW, &cur_term->Nttyb)) == -1)
@@ -140,14 +140,14 @@ int nocbreak()
T(("nocbreak() called"));
SP->_cbreak = 0;
-
+
#ifdef TERMIOS
cur_term->Nttyb.c_lflag |= ICANON;
if((tcsetattr(cur_term->Filedes, TCSANOW, &cur_term->Nttyb)) == -1)
return ERR;
else
return OK;
-#else
+#else
cur_term->Nttyb.sg_flags &= ~CBREAK;
stty(cur_term->Filedes, &cur_term->Nttyb);
return OK;
@@ -159,7 +159,7 @@ int noecho()
T(("noecho() called"));
SP->_echo = FALSE;
-
+
#ifdef TERMIOS
cur_term->Nttyb.c_lflag &= ~(ECHO);
if((tcsetattr(cur_term->Filedes, TCSANOW, &cur_term->Nttyb)) == -1)
@@ -179,7 +179,7 @@ int nonl()
T(("nonl() called"));
SP->_nl = SP->_nlmapping = FALSE;
-
+
#ifdef TERMIOS
cur_term->Nttyb.c_iflag &= ~ICRNL;
cur_term->Nttyb.c_oflag &= ~ONLCR;
OpenPOWER on IntegriCloud