Remap the DEL to BS correctly

This commit is contained in:
Jan Ciger 2017-12-29 13:24:05 +01:00
parent 01ec8d6315
commit 47777cf5d8

View file

@ -649,8 +649,8 @@ int tty_connect(void)
if (forward)
{
/* Map output character */
if ((output_char == '\b') && (map_obsdel))
output_char = 127;
if ((output_char == 127) && (map_obsdel))
output_char = '\b';
/* Send output to tty device */
status = write(fd, &output_char, 1);