summaryrefslogtreecommitdiffstats
path: root/bin/stty/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty/key.c')
-rw-r--r--bin/stty/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 99c0749..413f4d5 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -263,7 +263,7 @@ f_sane(struct info *ip)
ip->t.c_iflag |= ICRNL;
/* preserve user-preference flags in lflag */
#define LKEEP (ECHOKE|ECHOE|ECHOK|ECHOPRT|ECHOCTL|ALTWERASE|TOSTOP|NOFLSH)
- ip->t.c_lflag = TTYDEF_LFLAG_ECHO | (ip->t.c_lflag & LKEEP);
+ ip->t.c_lflag = TTYDEF_LFLAG | (ip->t.c_lflag & LKEEP);
ip->t.c_oflag = TTYDEF_OFLAG;
ip->set = 1;
}
OpenPOWER on IntegriCloud