Add close tab and create new tab on middle click event

Authored by shubham on Feb 20 2019, 1:49 AM.

Description

Add close tab and create new tab on middle click event

Summary:
Click with the middle mouse click on a tab: close it
Click with the middle click on empty portion of tab bar creates a new tab.
This makes konsole more streamlined with default behavior
found in other tabbed applications like browsers.
GUI option to enable/disable closing tab w/ mouse button. The default
is to have closing tab with button disabled to avoid possible data loss.

Tomaz Canabrava <tcanabrava@kde.org> also coded portion of this.

FEATURE: 398940
FIXED-IN: 19.04
GUI:

Test Plan:

Reviewers: ngraham, hindenburg, tcanabrava

Reviewed By: ngraham, hindenburg

Subscribers: emateli, thsurrel, ngraham, hindenburg, shubham, broulik, konsole-devel

Tags: Konsole

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

Details

Committed
hindenburgFeb 20 2019, 1:50 AM
Reviewer
ngraham
Differential Revision
D15742: Add close tab and create new tab on middle click event
Parents
R319:0ed33b1211e0: Update copyright to 2019
Branches
Unknown
Tags
Unknown