Match xterm behaviour when pressing Ctrl+Backspace
ClosedPublic

Authored by ahmadsamir on Feb 27 2018, 12:36 PM.

Details

Summary

Change the default keyboard translator to match xterm behaviour:

  • Pressing Backspace without any modifiers sends '^?', ASCII DEL character
  • Pressing Control+Backspace sends '^H', BS character

BUG: 391075

Test Plan
  • Before applying the patch pressing Ctrl+V (to insert verbatim) then Backspace, sends '^?'; the same happens with Ctrl+Backspace
  • With the patch:
    • pressing Ctrl+V then Backspace sends '^?'
    • pressing Ctrl+V then Ctrl+Backspace sends '^H'

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Feb 27 2018, 12:36 PM
Restricted Application added a project: Konsole. · View Herald TranscriptFeb 27 2018, 12:36 PM
ahmadsamir requested review of this revision.Feb 27 2018, 12:36 PM
hindenburg accepted this revision.Feb 28 2018, 2:19 AM

Thanks

This revision is now accepted and ready to land.Feb 28 2018, 2:19 AM
This revision was automatically updated to reflect the committed changes.