SelectUp() action (x3270)

From The x3270 Wiki

SelectUp() completes a mouse selection.

If the mouse was not moved between the last call to SelectDown(), the cursor is simply moved to the current mouse cursor location.

If the mouse was moved, the region between the mouse cursor's location at the time of calling SelectDown() and the time of calling SelectUp() is selected and the specified X11 selection is set to its contents.

This action is valid only in x3270 keymaps.

Parameters

SelectUp() takes a single parameter:

selection
The name of an X11 selection to set, for example PRIMARY or CLIPBOARD.

Examples

SelectUp(PRIMARY)

Default keymap

SelectUp(PRIMARY):

Mode x3270
3270 Btn1Up
NVT Btn1Up

how to read keymap tables

See also

SelectDown() action (x3270)

SelectMotion() action