Previous: Non-Window Terminals, Up: Frames


26.22 Using a Mouse in Terminal Emulators

Some terminal emulators under X support mouse clicks in the terminal window. In a terminal emulator which is compatible with xterm, you can use M-x xterm-mouse-mode to give Emacs control over simple use of the mouse—basically, only non-modified single clicks are supported. The normal xterm mouse functionality for such clicks is still available by holding down the SHIFT key when you press the mouse button.

Xterm Mouse mode is a global minor mode (see Minor Modes). Repeating the command turns the mode off again.