diff options
author | pgen <p.gen.progs@gmail.com> | 2022-08-24 00:39:29 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2022-08-31 22:51:16 +0200 |
commit | 0d009e8304793c50a6784111c2ea77b0087cff21 (patch) | |
tree | 8cac73f421f20d6b79ee6bf898cf0c1b2b644b5c /usage.c | |
parent | 637fc27e86627239a5b5197a5e6669624443fab9 (diff) |
Add mouse support
- Direct selection of words by clicking.
- Tagging/untagging of words by clicking.
- Scrolling by clicks and wheel.
- Validation of the selection with a double-click.
- Shifting the content of the windows to the left or to the right,
also added new keyboard keys < and > for that.
Three mouse tracking protocols are supported:
X11 (1000) and X11 SGR (1006) and urxvt (1015).
The X11 protocol limits lines and columns to 223 (e.g. screen < 4.7.0)
The other supported protocols don't have this limitation.
New options to disable the mouse, change the double-click delay and remap
the buttons of the mouse are available.
On (virtualised?) (Free)BSD it may be necessary to disable buttons
8 and 9, refer to the manual for details.
Diffstat (limited to 'usage.c')
-rw-r--r-- | usage.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -98,6 +98,12 @@ common_help(void) printf(" overload the words number/max. word length/max columns limits.\n"); printf("-f|-forgotten_timeout|-global_timeout\n"); printf(" defines a global inactivity timeout, defaults to 15 min.\n"); + printf("-nm|-no_mouse\n"); + printf(" disable a possibly auto-detected mouse tracking support.\n"); + printf("-br|-buttons|-button_remapping\n"); + printf(" Remaps the left and right mouse buttons, default is 1 and 3.\n"); + printf("-dc|-dcd|-double_click|-double_click_delay\n"); + printf(" Change the mouse double-click delay which is 150 ms by default.\n"); } void |