theimpossibleastronaut / modemu2k

modemu2k is a fork of modemu, a telnet client with a modem-like user interface
https://theimpossibleastronaut.com/modemu2k
GNU General Public License v3.0
10 stars 6 forks source link

Doesn't handle backspace key #1

Closed andy5995 closed 3 years ago

andy5995 commented 6 years ago

By default, modemu2k doesn't handle the backspace key and ctrl+h must be used instead. My TERM is set to linux.

Same behavior even if I invoke the program this way:

TERM=ansi src/modemu2k

andy5995 commented 3 years ago

After reviewing the code more, I see the backspace (127) is already being handled https://github.com/theimpossibleastronaut/modemu2k/blob/2b258dd840fab78e2cb544846a92d454a61842ba/src/modemu2k.c#L425

I'll keep it the way it is until I have a better understanding of terminals