Skip to content

selector pen#297

Merged
najohnsn merged 4 commits into
mainfrom
selector-pen
Jan 3, 2026
Merged

selector pen#297
najohnsn merged 4 commits into
mainfrom
selector-pen

Conversation

@najohnsn

Copy link
Copy Markdown
Member

This PR provides selector pen support. The selector pen can be triggered by a single click.

Signed-off-by: Neil Johnson <najohnsn@us.ibm.com>
Signed-off-by: Neil Johnson <najohnsn@us.ibm.com>
@najohnsn najohnsn self-assigned this Oct 28, 2025
@najohnsn najohnsn added the enhancement New feature or request label Oct 28, 2025
@v1gnesh

v1gnesh commented Oct 29, 2025

Copy link
Copy Markdown

Hey @najohnsn, does this mean I can select text now (when this is merged)?
Asking because in Windows Terminal, I can select with shift + mouse-clicked drag.
In macOS Terminal, I can't select text at all.

@najohnsn

Copy link
Copy Markdown
Member Author

No. This PR had nothing to do with selecting text. A "selector pen" (or a "light pen") is a piece of old 3270 terminal technology that looked like a pen and you touched to the screen. 3270 applications could define fields that interacted with this pen touch. This PR uses a mouse click to emulate this interaction.

The ability to select text will depend on your terminal emulator in which zti is running. I now have macOS and have had mixed success with selecting text - depending on the terminal emulator. Usually holding down some key (like Shift, Ctrl, or Cmd... or a combination) while using the mouse to select text will work. The terminal emulator should document the details.

Sometimes I press Esc to go to the zti prompt, enter "display", and select text from there - it sometimes works better when zti isn't capturing mouse clicks itself.

@najohnsn najohnsn merged commit 9b0ae9f into main Jan 3, 2026
10 checks passed
@najohnsn najohnsn deleted the selector-pen branch January 3, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants