Table of Contents
Using a mouse
A mouse is supported on some terminals. The mouse support can be
disabled in the configuration panel.
General usage
Inside a panel
- A single click sets the cursor bar position.
- A double click is equivalent to pressing the <enter> key.
-
A right-click (left-click on a left-handed mouse) inserts text from the panel
into the input line like the <tab> key.
- The mouse wheel moves the cursor bar. The speed is configurable.
-
A click on the top or bottom frame scrolls the cursor by one page
equivalent to <page-up> or <page-down> keys.
On the input line
- A single click sets the cursor position.
- A double click is like <enter>.
- The mouse wheel moves the cursor.
In the CLEX bar
-
The CLEX bar is the line with "CLEX File Manager" title displayed in reverse video.
A double click on a hint shown there (for example
F1=help
) activates
the named function.
Panel filter
- A single click sets the cursor.
- The mouse wheel moves the cursor.
Note: In order to enable cut & paste operations,
hold the shift key to bypass mouse tracking.
File panel specific usage
In the title line
- A double click on the current directory name (top-left corner) invokes the directory panel.
- A double click on the secondary directory name (top-right corner) switches panels.
In the list of files
-
A mouse double click does not behave exactly like pressing enter.
A double click on a directory changes into that directory.
A double click on a file activates the preview function.
In the prompt area of the command line
-
The mouse wheel movement in the command browses the command history list like
ctrl-P and ctrl-N.
- A double click on the command prompt invokes the command history panel.
Technical details
CLEX is compiled either with support for the NCURSES mouse interface
or for the xterm mouse interface. The preferred interface is the former,
because it can communicate with several types of mice including xterm compatible terminals
and gpm server. The required version 2 of this interface first appeared
in NCURSES release 6.0.
-
Run
clex --version
to check
which mouse interface was compiled into the CLEX on your system.
-
Visit the log panel after starting CLEX
to check if a mouse was detected.