mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +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
Notes:
sideshowbarker
2024-07-19 11:08:08 +09:00
Author: https://github.com/awesomekling
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