Terminfo often lies about key_backspace and libtickit believes it

Bug #1488044 reported by Paul "LeoNerd" Evans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtickit
Fix Released
Medium
Unassigned

Bug Description

((this is actually a libtermkey bug but given the pending merge to libtickit, I'll write about it here))

Most terminfo databases lie about the backspace key, claiming key_backspace=\010 (i.e. ASCII BS, 0x08) even though the observed behaviour of the Backspace key is to send \177 (ASCII DEL, 0x7F). What to do about this is unclear.

One possible workaround may be steal vim's idea of asking termios instead, querying the "ERASE" vchar byte and using that for the backspace sequence. It probably works, but it seems an odd way to go about it.

Changed in libtickit:
status: New → Confirmed
importance: Undecided → Medium
Changed in libtickit:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.