Sfoglia il codice sorgente

LibC: Use \010 for erasing instead of \0177

We ignore \0177 in the terminal -- as the ANSI standard dictates.

Fixes #7415
Daniel Bertalan 4 anni fa
parent
commit
d23425bfc0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Userland/Libraries/LibC/sys/ttydefaults.h

+ 1 - 1
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