top | item 37983363

(no title)

Acinyx | 2 years ago

The issue remains: "-" breaks double clicking to select the full string, which means you'll have to manually select all the characters before copying. Same thing happens with UUIDs: using double clicking, you can only select one block at a time.

This isn't a major issue, which means there's no easy answer and it generally comes down to preference if this is a requirement or not.

discuss

order

yrro|2 years ago

Double-clicking foo-bar_baz in GNOME Terminal selects the entire string. Anyway, this is something that is user-configurable surely?

eviks|2 years ago

Very few apps are that user friendly, besides your terminal isn't either since whether you want to select the entire string or not depends on its type

kevincox|2 years ago

It is in many terminals (I think it is in gnome-terminal) but not in major browsers and a lot of other software.

johnisgood|2 years ago

In XTerm it only selects the entire string with this in `~/.Xdefaults`:

  UXTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
There is also `UXTerm*on2Clicks` and `UXTerm*on3Clicks`.

FWIW, browser only selects either `foo` or `bar_baz`, but not the whole `foo-bar_baz`.