summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-05-23 19:24:46 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-23 19:32:31 +0200
commitd23425bfc04c75f1f56d59c58633d3fe45d23718 (patch)
tree61fe6af6b7956c076d71d43b284df0990b36e5e2 /Userland/Libraries/LibC
parent39f073938138a722969b2933ffb577557613d64b (diff)
downloadserenity-d23425bfc04c75f1f56d59c58633d3fe45d23718.zip
LibC: Use \010 for erasing instead of \0177
We ignore \0177 in the terminal -- as the ANSI standard dictates. Fixes #7415
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/sys/ttydefaults.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/sys/ttydefaults.h b/Userland/Libraries/LibC/sys/ttydefaults.h
index f82f98781e..de8eeee645 100644
--- a/Userland/Libraries/LibC/sys/ttydefaults.h
+++ b/Userland/Libraries/LibC/sys/ttydefaults.h
@@ -17,7 +17,7 @@
#define CTRL(c) (c & 0x1F)
#define CINTR CTRL('c')
#define CQUIT 034
-#define CERASE 0177
+#define CERASE 010
#define CKILL CTRL('u')
#define CEOF CTRL('d')
#define CTIME 0