Match xterm behaviour when pressing Ctrl+Backspace

Authored by ahmadsamir on Feb 28 2018, 2:17 AM.

Description

Match xterm behaviour when pressing Ctrl+Backspace

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'

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: ngraham

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D10884

Details

Committed
hindenburgFeb 28 2018, 4:04 AM
Reviewer
Konsole
Differential Revision
D10884: Match xterm behaviour when pressing Ctrl+Backspace
Parents
R319:09ed37ccccef: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown