1 package com
.googlecode
.lanterna
.terminal
;
4 * Constant describing different modes for capturing mouse input. By default, no mouse capturing is enabled (unless
5 * previously enabled before starting the Lanterna application. These are the different modes of input capturing
6 * supported. Please note that terminal emulators vary widely in how these are implemented!
7 * Created by martin on 26/07/15.
9 public enum MouseCaptureMode
{
11 * Mouse clicks are captured on the down-motion but not the up-motion. This corresponds to the X10 xterm protocol.
12 * KDE's Konsole (tested with 15.04) does not implement this extension, but xfce4-terminal, gnome-terminal and
17 * Mouse clicks are captured both on down and up, this is the normal mode for capturing mouse input. KDE's konsole
18 * interprets this as CLICK_RELEASE_DRAG.
22 * Mouse clicks are captured both on down and up and if the mouse if moved while holding down one of the button, a
23 * drag event is generated.
27 * Mouse clicks are captured both on down and up and also all mouse movements, no matter if any button is held down
30 CLICK_RELEASE_DRAG_MOVE
,