Correct 12m band CW segment definition
[spider.git] / perl / console.pl
index 0642e4b9b09240d26269c0478ca7b4ea13b425ed..4dba480b03ea56b19d60b8d68a89b382a9d6cabe 100755 (executable)
@@ -361,7 +361,7 @@ sub rec_stdin
                        $pos = 0;
                } elsif ($r eq KEY_END || $r eq "\005") {
                        $pos = $lth;
-               } elsif ($r eq KEY_BACKSPACE || $r eq "\010") {
+               } elsif ($r eq KEY_BACKSPACE || $r eq "\010" || $r eq "\0177") {
                        if ($pos > 0) {
                                my $a = substr($inbuf, 0, $pos-1);
                                my $b = substr($inbuf, $pos) if $pos < $lth;