Terminal selects a char when bringing window to foreground #953

Closed
opened 2026-01-30 22:12:16 +00:00 by claunia · 0 comments
Owner

Originally created by @jmorrill on GitHub (May 10, 2019).

If you put the Terminal window not in the foreground (ex, using a different application), if you click on anywhere on the terminal window, it brings the Terminal to the foreground (as expected), but it selects the text position you click on. If you previously had some text selected, it clears the selection.

The expected behavior is that it should only bring the terminal window to the foreground, and preserve any text selection (ex, current selection or not selected).

Example:
Terminal in background
image

I click on Terminal area
image

Notice it deselects my previous selection, selecting the character i clicked on to bring the window to the foreground.

Originally created by @jmorrill on GitHub (May 10, 2019). If you put the Terminal window not in the foreground (ex, using a different application), if you click on anywhere on the terminal window, it brings the Terminal to the foreground (as expected), but it selects the text position you click on. If you previously had some text selected, it clears the selection. The expected behavior is that it should only bring the terminal window to the foreground, and preserve any text selection (ex, current selection or not selected). Example: **Terminal in background** ![image](https://user-images.githubusercontent.com/6867609/57543446-4883ae00-7309-11e9-9274-1a946d6a8801.png) **I click on Terminal area** ![image](https://user-images.githubusercontent.com/6867609/57543492-67824000-7309-11e9-9511-6ff2b5a0e815.png) Notice it deselects my previous selection, selecting the character i clicked on to bring the window to the foreground.
claunia added the Issue-BugArea-InputNeeds-Tag-FixProduct-Terminal labels 2026-01-30 22:12:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#953