When using the win32 keyboard encoding, the delete and backspace keys were encoded with the wrong character codes compared to the native terminal. This caused subtle issues in multiple applications. This change brings the encoding in line with the native terminal.