mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +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)
|
if (forward)
|
||||||
{
|
{
|
||||||
/* Map output character */
|
/* Map output character */
|
||||||
if ((output_char == '\b') && (map_obsdel))
|
if ((output_char == 127) && (map_obsdel))
|
||||||
output_char = 127;
|
output_char = '\b';
|
||||||
|
|
||||||
/* Send output to tty device */
|
/* Send output to tty device */
|
||||||
status = write(fd, &output_char, 1);
|
status = write(fd, &output_char, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue