Konsole: Add read-only mode

Authored by hindenburg on Mar 6 2018, 3:22 PM.

Description

Konsole: Add read-only mode

Summary:
This patch adds a read-only option for TerminalDisplays. When active,
all keyboard events are eaten. Mouse input is not affected and works like before.
The setting is not persisted and only lasts for the duration of the session.

Screenshots:



VDG input is highly appreciated. Also, I'm not sure if I can just change the rc-files without bumping the version?

FEATURE: 126930

Test Plan:

  • Shortcuts still work
  • Paste and drop actions are disabled when readonly
  • Switching between read-only and normal tabs works as expected
  • Mouse input works like before

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, ngraham, Konsole

Tags: Konsole

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

Details

Committed
hindenburgMar 6 2018, 3:28 PM
Reviewer
Konsole
Differential Revision
D10862: Konsole: Add read-only mode
Parents
R319:660559600f16: Force Qt5 to use named qtemporary files
Branches
Unknown
Tags
Unknown