Re:The UX of UUIDs
by saurik on Thursday April 11, 2024 @05:00PM
(#40006753)
The 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.
[ Parent
| on HN ]
The 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
Re:The UX of UUIDs
by fiddlerwoaroof on Thursday April 11, 2024 @07:33PM
(#40007939)
A 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.
Re:The UX of UUIDs
by eyelidlessness on Thursday April 11, 2024 @11:33PM
(#40009154)
This 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).
Adding 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.