mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibVT: Use the middle mouse button for pasting (instead of right)
This will allow us to show a context menu when you right-click, which will feels more consistent with the rest of the Serenity desktop.
This commit is contained in:
parent
ef552add6c
commit
6fa26c73e2
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ void TerminalWidget::mousedown_event(GMouseEvent& event)
|
|||
m_selection_end = {};
|
||||
}
|
||||
update();
|
||||
} else if (event.button() == GMouseButton::Right) {
|
||||
} else if (event.button() == GMouseButton::Middle) {
|
||||
if (m_ptm_fd == -1)
|
||||
return;
|
||||
auto text = GClipboard::the().data();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue