aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 99c0749ac7b4..413f4d58dfa9 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;
}