mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Remap the DEL to BS correctly
This commit is contained in:
parent
01ec8d6315
commit
47777cf5d8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue