Comments (2)
An application can request to receive mouse events: both clicks and scrolls. There's no protocol to request only one kind.
If an application enables this mode, both click and scroll events have to be explicitly sent to that app. That is, in order to revert to their traiditional operation (selecting text), a modifier needs to be pressed.
An application cannot request scroll events to be delivered but click events to be handled by the terminal for copy-pasting.
That being said, there's a special mode called "alternate screen scrolling". This is enabled in Tilix (VTE) by default. What it does is: For apps that do not request mouse event, but do switch to the so-called "alternate screen" (where there's no scrollback buffer, so mouse scroll events would do nothing), the terminal converts mouse scroll events to up/down keypresses. Your app sees the same as if you pressed the up or down arrow, and doesn't have a clue that it was initiated from a mouse wheel instead. While it works as expected in many cases, obviously there are many other cases where this can go wrong.
This feature was designed as a workaround for non-mouse-aware apps. Apps that wish to receive mouse events aren't supposed to rely on this mode, they are supposed to explicitly enable mouse support. And, yes, then you have to press Shift to highlight text in the terminal, that's the nature of the game.
from tilix.
ok thanks
from tilix.
Related Issues (20)
- Titlebar too large HOT 2
- How to edit/remove the context menu
- "TerminalNot Enabled" is displayed on the screen HOT 2
- My own keyboard shortcuts don't work when Tilix is focused
- Gtk-WARNINGs HOT 1
- Unable to open the preferences menu when using the Ketsa icon theme HOT 6
- GLib-GObject-WARNING ISO-8859-16: U_FILE_ACCESS_ERROR HOT 2
- Tilix Screen Size
- change tilix tile border color HOT 4
- Linking error with meson+dmd HOT 3
- Copy-Paste-Problems
- error while loading shared libraries: libphobos2-ldc-shared.so.107 after libphobos update HOT 3
- Flickering Terminal HOT 2
- Can't run docker on tilix HOT 1
- Right-Click to `clear` - Custom Commands in Roght-Click Context Menu
- Tilix not launching on kali linux
- startup with badge text via CLI HOT 1
- Delay in registering keys in CLI HOT 2
- Automatically open maximized window when launching from applications launcher HOT 8
- Every new window opens with a percentage sign at the first line and prompt at the second line. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilix.