3 ms·
That's cool! Is this implemented using a Swift feature?
by tokkyokky 8mo ago
That's cool! Is this implemented using a Swift feature?
- tjohnell 8mo agoYes, it actually uses a private API: CGSSetWindowBackgroundBlurRadius. There's public APIs, but they do not provide as gentle of a blur as I was hoping to achieve. iTerm actually uses this same API: https://github.com/gnachman/iTerm2/blob/master/sources/iTermWindowImpl.m#L244 https://github.com/gnachman/iTerm2/blob/master/sources/iTerm...
- tokkyokky 8mo agoAh, that makes sense. Good to know iTerm does the same thing. Thanks for sharing the reference!