3 ms·
That's true, but there are a lot of places where ids live, but where I can't add `user-select: all`. For example, in terminal (logs), Studio3t (db client) etc.
by blue_pants 3y ago
That's true, but there are a lot of places where ids live, but where I can't add `user-select: all`. For example, in terminal (logs), Studio3t (db client) etc.
- cess11 3y agoI find double click to select word, triple to select line or buffer, in surprisingly many contexts. Does this work for you?
- saurik 3y agoThe whole point of this article is that double-click to select a word doesn't work with a UUID... though, I think this should just be fixed: I have XTerm set up where double clicking selects a word, triple clicking selects a filename (which can include a hyphen, but not a slash), quadruple clicking selects a URL or path, and quintuple clicking selects the rest of the line.
- iaaan 3y agoThe workaround I've landed on is double-click and hold, then drag in the correct direction. Precise enough to just grab the UUID, imprecise enough to be quick and not annoying
- fiddlerwoaroof 3y agoA lot of terminals let you adjust the characters that break words. I’ve always configured my terminals and editors to treat `-` as a word character.
- eyelidlessness 3y agoThis is what I use, because it works almost everywhere almost exactly the same way, even when quite a lot else doesn’t have that quality. I similarly use long-press+slide for very similar behavior on iOS (although that has much more variance in behavior across apps, and sometimes even within the same app).
- jraph 3y agoAdding clicks is not ideal, many people already have some troubles with double clicks (because they can't be fast enough, or it hurts), triple click is already harder. Also more than 3 clicks starts taking a considerable about of time.
- cess11 3y agoOK, right, yeah, they might have some word-break config that would need touching up. Thanks.
- yndoendo 3y agoNow replace the double click, desktop, interaction, with press and hold, touch screen. I don't know of any triple click interaction that maps to a simplistic touch screen interaction.