3 ms·
> It's really difficult to do the right thing here. There is a fairly good solution to this for things like code editors and URLs or search strings in browsers
by AnthonyMouse 11y ago
> It's really difficult to do the right thing here.
There is a fairly good solution to this for things like code editors and URLs or search strings in browsers: If a string contains a non-ASCII code point that is a homograph for an ASCII character, swap the text and background colors.
- wodenokoto 11y agoI meant the right approach to designating code points.
- Allan_Smithee 11y agoIn today's lesson, wodenokoto learned that real life is infinitely more complicated than San Francisco startups would have you believe.